Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00935/0.00935, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002057/0.002057, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9523/0.9536, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002548/0.9562, allocations: 1.458 MB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.9567, allocations: 190.5 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.9567, allocations: 3.938 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.9567, allocations: 9.062 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.957, allocations: 24.41 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.9572, allocations: 51.33 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.922e-05/0.9573, allocations: 56.03 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.9574, allocations: 4.875 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.9575, allocations: 34.78 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.9576, allocations: 18.73 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.9576, allocations: 5.094 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.9576, allocations: 8.5 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.9576, allocations: 9.375 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.9577, allocations: 26.17 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.9578, allocations: 49.38 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9578, allocations: 0 / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9578, allocations: 0 / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9578, allocations: 0 / 1.09 GB, free: 4.246 MB / 0.8575 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.0005223/0.9584, allocations: 349.4 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9584, allocations: 9.906 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.9585, allocations: 7.125 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.9586, allocations: 169.3 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.9586, allocations: 5.984 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.9587, allocations: 6.594 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.9588, allocations: 74.94 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9588, allocations: 0.75 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.9589, allocations: 5.031 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.9589, allocations: 0 / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.9589, allocations: 20.53 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.9593, allocations: 283.5 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.9594, allocations: 37.17 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.9595, allocations: 17.25 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.9595, allocations: 0.5625 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.9596, allocations: 63.16 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.9597, allocations: 0.8125 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002376/0.9599, allocations: 81.53 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.96, allocations: 108.5 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.96, allocations: 104.6 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.9601, allocations: 25.7 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.9601, allocations: 87.7 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.9601, allocations: 10.86 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.9602, allocations: 25.8 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.9602, allocations: 318 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/0.9603, allocations: 9.797 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.9603, allocations: 36.14 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.9604, allocations: 32.91 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9604, allocations: 1.703 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001015/0.9605, allocations: 58.33 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9605, allocations: 9.25 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9605, allocations: 1.609 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.9606, allocations: 0 / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.9606, allocations: 7.547 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9607, allocations: 0.6094 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.9608, allocations: 8.516 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.9608, allocations: 1.938 kB / 1.092 GB, free: 2.348 MB / 0.8575 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 7.491e-05/0.9609, allocations: 118.5 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.9609, allocations: 9.938 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.9609, allocations: 13.72 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.9609, allocations: 0.9062 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.961, allocations: 0 / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.961, allocations: 1.062 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.9611, allocations: 168.9 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9611, allocations: 0 / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.9611, allocations: 7.719 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9611, allocations: 0 / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.9611, allocations: 1.672 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.9611, allocations: 1.812 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9611, allocations: 4 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.9613, allocations: 93.5 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.9613, allocations: 86.53 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.9614, allocations: 1.812 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.9615, allocations: 14.97 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.9615, allocations: 8.875 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.9615, allocations: 1.906 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.9616, allocations: 89.38 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9616, allocations: 0.8125 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001981/0.9618, allocations: 13.94 kB / 1.092 GB, free: 1.727 MB / 0.8575 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.0001119/0.9619, allocations: 100.9 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.962, allocations: 34.38 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.962, allocations: 0 / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.9621, allocations: 15.08 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.9623, allocations: 20.77 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.9625, allocations: 113.2 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.9626, allocations: 0.68 MB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.9627, allocations: 9.75 kB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.9627, allocations: 15.12 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9627, allocations: 0 / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of Templates: time 0.003052/0.9658, allocations: 0.8837 MB / 1.094 GB, free: 0.7148 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches