Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007003/0.007003, allocations: 98.7 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 197.5 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.562/2.562, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.88 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.901, allocations: 159.1 MB / 1.221 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003181/0.9042, allocations: 1.45 MB / 1.222 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005076/0.9047, allocations: 199.3 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.9048, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.9048, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.9051, allocations: 27.84 kB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.9054, allocations: 57.86 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.9055, allocations: 51.84 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.9056, allocations: 8 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.9056, allocations: 23.92 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.9057, allocations: 19.91 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.9058, allocations: 11.94 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.9058, allocations: 4 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.9058, allocations: 15.98 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.9059, allocations: 23.86 kB / 1.223 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.906, allocations: 51.09 kB / 1.223 GB, free: 296 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.906, allocations: 0 / 1.223 GB, free: 296 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.906, allocations: 0 / 1.223 GB, free: 296 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.906, allocations: 0 / 1.223 GB, free: 296 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006302/0.9066, allocations: 357.2 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.9067, allocations: 12.03 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.9067, allocations: 4.938 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.9069, allocations: 172.3 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.9069, allocations: 4.375 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.9069, allocations: 384 / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.9071, allocations: 72.81 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9071, allocations: 192 / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.9071, allocations: 7.938 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.9071, allocations: 4 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.9072, allocations: 19.98 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.9076, allocations: 276.8 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.9077, allocations: 34.56 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.9078, allocations: 20.94 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.9078, allocations: 0 / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.908, allocations: 67.33 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.908, allocations: 0 / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.9082, allocations: 73.64 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.9083, allocations: 106.8 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.9084, allocations: 101.9 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.9084, allocations: 29.7 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.9085, allocations: 92.06 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.9085, allocations: 7.953 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.9085, allocations: 25.7 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9086, allocations: 314.8 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.9087, allocations: 15.94 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.9087, allocations: 38.5 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.9088, allocations: 24.86 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9088, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.9089, allocations: 61.67 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.9089, allocations: 8 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9089, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.9089, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.909, allocations: 15.92 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.909, allocations: 3.938 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.9091, allocations: 4.188 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.9091, allocations: 4.422 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.949e-05/0.9092, allocations: 122.3 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.9092, allocations: 11.98 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.9093, allocations: 7.5 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9093, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9093, allocations: 4 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.9093, allocations: 0 / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.9094, allocations: 181.5 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9094, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.9095, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.9095, allocations: 4 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.9095, allocations: 0 / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9095, allocations: 0 / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9095, allocations: 4 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.9096, allocations: 92.98 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.9097, allocations: 85.09 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.9097, allocations: 0 / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.9098, allocations: 15.98 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.9099, allocations: 0 / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.9099, allocations: 4 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.9099, allocations: 91.27 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9099, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001903/0.9101, allocations: 12 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.9102, allocations: 103.2 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.9104, allocations: 27.98 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9104, allocations: 3.938 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.9104, allocations: 19.92 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.9106, allocations: 7.938 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.9109, allocations: 139.3 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.9112, allocations: 0.6807 MB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.9113, allocations: 4 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.9113, allocations: 15.42 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of SimCode: time 7.62e-07/0.9113, allocations: 0 / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of Templates: time 0.00338/0.9147, allocations: 0.8922 MB / 1.227 GB, free: 11.46 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches