Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001273/0.001273, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.423/1.423, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.821/2.821, allocations: 437 MB / 0.7112 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 67.84 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 151.6 MB / 1.167 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003705/1.076, allocations: 1.494 MB / 1.169 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001858/1.078, allocations: 1.101 MB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/1.078, allocations: 4 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002174/1.079, allocations: 23.84 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/1.079, allocations: 43.77 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/1.079, allocations: 57.55 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/1.079, allocations: 147.5 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/1.079, allocations: 65.09 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/1.08, allocations: 75.77 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/1.08, allocations: 51.77 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/1.08, allocations: 15.94 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/1.08, allocations: 23.98 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/1.08, allocations: 51.83 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/1.08, allocations: 71.58 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/1.08, allocations: 205.2 kB / 1.171 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.08, allocations: 4 kB / 1.171 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/1.08, allocations: 0 / 1.171 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.08, allocations: 3.938 kB / 1.171 GB, free: 0.6406 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007282/1.081, allocations: 486.7 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.081, allocations: 16.02 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/1.081, allocations: 20.75 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/1.082, allocations: 257.4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/1.082, allocations: 127.3 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/1.082, allocations: 8.375 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/1.082, allocations: 161.7 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.082, allocations: 0 / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/1.082, allocations: 0 / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/1.082, allocations: 12 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/1.082, allocations: 43.91 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/1.083, allocations: 460.3 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/1.084, allocations: 38.5 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/1.084, allocations: 20.84 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/1.084, allocations: 12 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.084, allocations: 30.56 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/1.084, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0002768/1.084, allocations: 105.9 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.084, allocations: 59.34 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/1.084, allocations: 219.6 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/1.084, allocations: 29.64 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/1.084, allocations: 132.1 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/1.084, allocations: 19.66 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/1.085, allocations: 29.7 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.085, allocations: 330.8 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/1.085, allocations: 19.98 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/1.085, allocations: 102.3 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/1.085, allocations: 142.1 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.085, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002732/1.085, allocations: 157.2 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.085, allocations: 4 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.085, allocations: 4 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.085, allocations: 4 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/1.085, allocations: 23.98 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.086, allocations: 8 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/1.086, allocations: 20.2 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/1.086, allocations: 8 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001373/1.086, allocations: 145.8 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/1.086, allocations: 15.81 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/1.086, allocations: 119.1 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.086, allocations: 0 / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.086, allocations: 4 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/1.086, allocations: 96.84 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/1.086, allocations: 0 / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/1.086, allocations: 27.92 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/1.086, allocations: 3.984 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001575/1.087, allocations: 153 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002264/1.087, allocations: 274.5 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.431e-05/1.087, allocations: 19.98 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000144/1.087, allocations: 164.2 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Backend: time 3e-07/1.087, allocations: 0 / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006556/1.088, allocations: 170.1 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008304/1.089, allocations: 0.7269 MB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.006202/1.095, allocations: 2.598 MB / 1.178 GB, free: 8.703 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches