Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.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_9_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_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 87.11 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.00146/0.001461, 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.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.418 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.326/2.326, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 15.98 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.5924, allocations: 142.4 MB / 0.9545 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0008814/0.5933, allocations: 0.5637 MB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.594, allocations: 0.8683 MB / 0.9559 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.5941, allocations: 1.094 kB / 0.9559 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.5941, allocations: 3.938 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.5942, allocations: 18.08 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.5943, allocations: 20.47 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.5944, allocations: 96.14 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.5946, allocations: 40.17 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.5947, allocations: 30.14 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.67e-05/0.5947, allocations: 39.62 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.5948, allocations: 3.438 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.5948, allocations: 2.438 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.5948, allocations: 15.69 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.5948, allocations: 42.2 kB / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.149e-05/0.5949, allocations: 88.31 kB / 0.9562 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5949, allocations: 5.406 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5949, allocations: 3.938 kB / 0.9562 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.595, allocations: 0 / 0.9562 GB, free: 6.27 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006578/0.5956, allocations: 460.9 kB / 0.9567 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5957, allocations: 10.12 kB / 0.9567 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.5957, allocations: 17.27 kB / 0.9567 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.5958, allocations: 182.2 kB / 0.9569 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5958, allocations: 8.156 kB / 0.9569 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.5959, allocations: 8.094 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.5961, allocations: 95.03 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5961, allocations: 0 / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5961, allocations: 9.297 kB / 0.957 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5961, allocations: 1.281 kB / 0.957 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.5963, allocations: 74.7 kB / 0.9571 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.5969, allocations: 420.7 kB / 0.9575 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.597, allocations: 58.69 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.5971, allocations: 39.8 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.5971, allocations: 0 / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.5972, allocations: 43.56 kB / 0.9576 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.5972, allocations: 0 / 0.9576 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003089/0.5975, allocations: 118.5 kB / 0.9577 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.5975, allocations: 60.88 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.5976, allocations: 151.3 kB / 0.9579 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.5976, allocations: 27.52 kB / 0.9579 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.5977, allocations: 103.6 kB / 0.958 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.5977, allocations: 27.41 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.5977, allocations: 0 / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.5977, allocations: 324.6 kB / 0.9584 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.5978, allocations: 35.64 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.5979, allocations: 34.58 kB / 0.9584 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.598, allocations: 27.58 kB / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.598, allocations: 0 / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001817/0.5982, allocations: 104.2 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5982, allocations: 5.562 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5982, allocations: 0 / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5982, allocations: 0.8125 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.5983, allocations: 19.77 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.5983, allocations: 0 / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.5985, allocations: 38.03 kB / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5985, allocations: 1.375 kB / 0.9586 GB, free: 4.129 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: 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 6.62e-05/0.5986, allocations: 126.1 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.5986, allocations: 8.188 kB / 0.9588 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.5986, allocations: 18.73 kB / 0.9588 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5987, allocations: 5.125 kB / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5987, allocations: 1.562 kB / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5987, allocations: 0 / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.5988, allocations: 203 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.5988, allocations: 0 / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.5989, allocations: 12.67 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5989, allocations: 0 / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.5989, allocations: 1.312 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5989, allocations: 0 / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5989, allocations: 1.5 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.5991, allocations: 192 kB / 0.9592 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.5992, allocations: 95.23 kB / 0.9593 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.5992, allocations: 0.9688 kB / 0.9593 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.5994, allocations: 33.09 kB / 0.9593 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.5994, allocations: 17.28 kB / 0.9593 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.5994, allocations: 1.562 kB / 0.9593 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.5995, allocations: 117.3 kB / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5995, allocations: 4 kB / 0.9594 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002286/0.5997, allocations: 12.22 kB / 0.9594 GB, free: 3.352 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: 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 9.185e-05/0.5998, allocations: 107 kB / 0.9596 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.6, allocations: 72.05 kB / 0.9596 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6001, allocations: 4 kB / 0.9596 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.6001, allocations: 38.86 kB / 0.9597 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.6004, allocations: 16.86 kB / 0.9597 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.6008, allocations: 233.7 kB / 0.9599 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.6009, allocations: 0.6932 MB / 0.9606 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.397e-05/0.601, allocations: 19.88 kB / 0.9606 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.601, allocations: 10.19 kB / 0.9606 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.601, allocations: 1.375 kB / 0.9606 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of Templates: time 0.002909/0.6039, allocations: 1.069 MB / 0.9617 GB, free: 1.727 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches