Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001276/0.001276, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.593/2.593, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003903, allocations: 16 kB / 0.8153 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.8034, allocations: 142.4 MB / 0.9544 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0006182/0.804, allocations: 317.7 kB / 0.9547 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.289e-05/0.8041, allocations: 5.125 kB / 0.9547 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.8041, allocations: 0 / 0.9547 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.8041, allocations: 1.031 kB / 0.9547 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.8041, allocations: 0 / 0.9547 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.063e-05/0.8042, allocations: 4 kB / 0.9547 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.244e-05/0.8042, allocations: 5.047 kB / 0.9547 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.8043, allocations: 5.109 kB / 0.9548 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.26e-05/0.8043, allocations: 0 / 0.9548 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.56e-05/0.8043, allocations: 1 kB / 0.9548 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.096e-06/0.8043, allocations: 0 / 0.9548 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-06/0.8043, allocations: 0 / 0.9548 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.8043, allocations: 1.25 kB / 0.9548 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.8043, allocations: 25.7 kB / 0.9548 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.405e-05/0.8044, allocations: 4 kB / 0.9548 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.8044, allocations: 5.125 kB / 0.9548 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8044, allocations: 0 / 0.9548 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.8044, allocations: 0 / 0.9548 GB, free: 7.695 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001704/0.8046, allocations: 305.8 kB / 0.9551 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.8046, allocations: 8.125 kB / 0.9551 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.8047, allocations: 8.969 kB / 0.9551 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.282e-05/0.8047, allocations: 159.1 kB / 0.9552 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.8047, allocations: 1 kB / 0.9552 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.8047, allocations: 3.938 kB / 0.9553 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.8048, allocations: 31.92 kB / 0.9553 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.8048, allocations: 0 / 0.9553 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.8049, allocations: 1.031 kB / 0.9553 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8049, allocations: 0 / 0.9553 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.8049, allocations: 5.078 kB / 0.9553 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.747e-05/0.805, allocations: 154.7 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.748e-05/0.805, allocations: 16.73 kB / 0.9555 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.805, allocations: 11.05 kB / 0.9555 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.805, allocations: 5.125 kB / 0.9555 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.8051, allocations: 30.56 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.894e-06/0.8051, allocations: 1.062 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.867e-05/0.8052, allocations: 37.98 kB / 0.9555 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.8052, allocations: 51.41 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.671e-05/0.8052, allocations: 90.98 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.8052, allocations: 25.7 kB / 0.9557 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.015e-05/0.8052, allocations: 84.27 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.8053, allocations: 4.875 kB / 0.9558 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-06/0.8053, allocations: 0 / 0.9558 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.8053, allocations: 320 kB / 0.9561 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.8053, allocations: 3.938 kB / 0.9561 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.8054, allocations: 5.188 kB / 0.9561 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.469e-05/0.8054, allocations: 2.188 kB / 0.9561 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8054, allocations: 0 / 0.9561 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.28e-05/0.8054, allocations: 35.45 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8054, allocations: 4.625 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8055, allocations: 0 / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8055, allocations: 1.125 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.8055, allocations: 1.094 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.8055, allocations: 0 / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.8056, allocations: 5.047 kB / 0.9561 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.8056, allocations: 0 / 0.9561 GB, free: 6.141 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.8056, allocations: 112.2 kB / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-06/0.8056, allocations: 8.016 kB / 0.9563 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.8056, allocations: 7.125 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.8056, allocations: 1.094 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8057, allocations: 0 / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8057, allocations: 1.094 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.484e-05/0.8057, allocations: 158.7 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.8057, allocations: 0 / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-06/0.8057, allocations: 1.062 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.8057, allocations: 1.156 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.8057, allocations: 0 / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.8058, allocations: 1 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8058, allocations: 4 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.262e-05/0.8058, allocations: 59.16 kB / 0.9565 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.8058, allocations: 81.09 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.8058, allocations: 0.9688 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.8059, allocations: 7.875 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.8059, allocations: 0.9688 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.8059, allocations: 1.062 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.648e-06/0.8059, allocations: 79.31 kB / 0.9566 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8059, allocations: 0 / 0.9566 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002022/0.8061, allocations: 1 kB / 0.9566 GB, free: 5.547 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.356e-05/0.8062, allocations: 102.7 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.697e-05/0.8062, allocations: 3.625 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8062, allocations: 0 / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.8063, allocations: 2.281 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.8064, allocations: 12.03 kB / 0.9568 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.8066, allocations: 79.5 kB / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.8067, allocations: 0.6707 MB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.8068, allocations: 5.438 kB / 0.9575 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.8068, allocations: 7.438 kB / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8068, allocations: 0 / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.002009/0.8088, allocations: 162.3 kB / 0.9577 GB, free: 4.547 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_9_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches