Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 190.8 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 86.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 10.47 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.217, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.3885, allocations: 132.6 MB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.3888, allocations: 83.94 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005338/0.3941, allocations: 1.81 MB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3941, allocations: 224 / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.3942, allocations: 4 kB / 1.031 GB, free: 9.25 MB / 0.6823 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.0007561/0.3949, allocations: 438.8 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.395, allocations: 8.031 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.3951, allocations: 23.77 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3953, allocations: 185.2 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3953, allocations: 4 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3954, allocations: 8 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.3956, allocations: 97.64 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3956, allocations: 0 / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3957, allocations: 0 / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3957, allocations: 3.984 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.3959, allocations: 87.8 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.3967, allocations: 408.5 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3969, allocations: 66.55 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3969, allocations: 4.125 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.397, allocations: 30.56 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.397, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0004728/0.3975, allocations: 129.7 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3976, allocations: 51.41 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3977, allocations: 139.7 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.3978, allocations: 29.7 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3979, allocations: 108.1 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3979, allocations: 19.8 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.3979, allocations: 0 / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3981, allocations: 318.8 kB / 1.033 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3983, allocations: 35.98 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.3983, allocations: 31.98 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.878e-05/0.3984, allocations: 27.98 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3984, allocations: 3.953 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002299/0.3987, allocations: 101.8 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.3987, allocations: 7.984 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3987, allocations: 4 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3988, allocations: 4 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3989, allocations: 11.94 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/0.399, allocations: 11.94 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.3991, allocations: 27.97 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.3992, allocations: 11.98 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001415/0.3993, allocations: 120.2 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.3994, allocations: 11.86 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.3994, allocations: 12.31 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3994, allocations: 0 / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3994, allocations: 0 / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3995, allocations: 0 / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.3997, allocations: 209.5 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3997, allocations: 0 / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.3998, allocations: 19.94 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3998, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3999, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3999, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3999, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4002, allocations: 199.4 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.4003, allocations: 85 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.4003, allocations: 7.953 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.4005, allocations: 35.97 kB / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4007, allocations: 15.95 kB / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.4007, allocations: 0 / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001087/0.4008, allocations: 114.7 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4008, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000241/0.401, allocations: 12 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 0.0002061/0.4013, allocations: 108.5 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.4015, allocations: 75.91 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4015, allocations: 0.6719 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4017, allocations: 40.05 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.402, allocations: 15.92 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.4026, allocations: 234.9 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.4031, allocations: 0.7082 MB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.494e-05/0.4031, allocations: 4 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.4032, allocations: 11.44 kB / 1.036 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4032, allocations: 0 / 1.036 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.003916/0.4071, allocations: 1.064 MB / 1.037 GB, free: 3.43 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches