Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007956/0.007956, allocations: 101.5 kB / 15.73 MB, free: 5.586 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.001907/0.001907, allocations: 188.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.361/1.361, 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 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.865, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002716/0.8678, allocations: 1.369 MB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001863/0.868, allocations: 47.81 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.868, allocations: 0 / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.8683, allocations: 7.938 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.8685, allocations: 23.91 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.34e-06/0.8685, allocations: 3.938 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.193e-05/0.8686, allocations: 15.92 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.565e-05/0.8686, allocations: 4 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.8687, allocations: 4 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.8688, allocations: 11.88 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.8688, allocations: 4 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.745e-05/0.8688, allocations: 15.98 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.8689, allocations: 4 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.8689, allocations: 7.922 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.8691, allocations: 31.91 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8691, allocations: 0 / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.644e-06/0.8691, allocations: 0 / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8691, allocations: 0 / 1.209 GB, free: 12.13 MB / 0.9356 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.0004254/0.8695, allocations: 339.2 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8696, allocations: 12.03 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.8696, allocations: 4.875 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.8698, allocations: 180.3 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.8698, allocations: 384 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.8699, allocations: 4.359 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.485e-05/0.87, allocations: 34.27 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.87, allocations: 192 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.87, allocations: 11.92 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.87, allocations: 7.938 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.8701, allocations: 0 / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.8703, allocations: 153.7 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.8703, allocations: 22.61 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.8704, allocations: 8.859 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.8704, allocations: 0 / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.8704, allocations: 34.62 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8704, allocations: 0 / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.8706, allocations: 45.56 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.8706, allocations: 55.41 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8707, allocations: 113.8 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.8708, allocations: 29.83 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.8708, allocations: 80.14 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.8709, allocations: 11.91 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.8709, allocations: 9.719 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.871, allocations: 314.8 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.8711, allocations: 4 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.8711, allocations: 3.938 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.8711, allocations: 20.86 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8711, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.035e-05/0.8712, allocations: 33.7 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8712, allocations: 7.984 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8712, allocations: 3.938 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.8713, allocations: 4 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.8713, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8713, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.8713, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.8714, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/0.8715, allocations: 117.9 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.8715, allocations: 3.906 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.8716, allocations: 57.03 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.8716, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8716, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.8716, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.8718, allocations: 157.7 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8718, allocations: 0 / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.8718, allocations: 3.984 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.8718, allocations: 4.031 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.8718, allocations: 3.938 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8718, allocations: 0 / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.8718, allocations: 4 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.494e-05/0.8719, allocations: 61.08 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.872, allocations: 85 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.872, allocations: 3.938 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/0.872, allocations: 4 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.872, allocations: 4.031 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.872, allocations: 0 / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.8721, allocations: 95.58 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8721, allocations: 0 / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001876/0.8723, allocations: 4 kB / 1.211 GB, free: 9.68 MB / 0.9356 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 (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.0003014/0.8726, allocations: 124 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.8727, allocations: 8 kB / 1.211 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8727, allocations: 0 / 1.211 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.8727, allocations: 7.984 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.8729, allocations: 2.031 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.8731, allocations: 119.2 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.8734, allocations: 0.6847 MB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.81e-05/0.8735, allocations: 15.89 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.8735, allocations: 11.44 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8735, allocations: 0 / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.002706/0.8763, allocations: 490.2 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches