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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.531, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001804/0.5329, allocations: 0.8635 MB / 0.9506 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006678/0.5336, allocations: 0.8681 MB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.5336, allocations: 9.25 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.5337, allocations: 11.86 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.5338, allocations: 17.19 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.5339, allocations: 41.09 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.534, allocations: 109.9 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.5341, allocations: 46.7 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.5342, allocations: 48.06 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.5343, allocations: 52.36 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.5343, allocations: 11.09 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.5344, allocations: 10.53 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.5344, allocations: 22.61 kB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.5344, allocations: 49.59 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.5346, allocations: 124.9 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5346, allocations: 1.188 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5346, allocations: 3.938 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.5346, allocations: 0 / 0.952 GB, free: 7.355 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.0007538/0.5353, allocations: 466.4 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.5354, allocations: 9 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.5354, allocations: 37.72 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.5355, allocations: 10.19 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/0.5356, allocations: 191 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5356, allocations: 3.531 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5356, allocations: 8.688 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.5358, allocations: 96.89 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5358, allocations: 7.938 kB / 0.9527 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5358, allocations: 1.625 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5358, allocations: 1.25 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.536, allocations: 63.28 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.5366, allocations: 410.9 kB / 0.9532 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.5368, allocations: 59.48 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.5369, allocations: 36.88 kB / 0.9533 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5369, allocations: 3.984 kB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.5369, allocations: 36.09 kB / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.5369, allocations: 0 / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003191/0.5372, allocations: 107.3 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.5373, allocations: 64.77 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.5374, allocations: 151.2 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.5374, allocations: 27.14 kB / 0.9537 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.5374, allocations: 105.6 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.5375, allocations: 21.28 kB / 0.9538 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.5375, allocations: 20.62 kB / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.5375, allocations: 325.2 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.5376, allocations: 27.17 kB / 0.9541 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.5377, allocations: 31.48 kB / 0.9542 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5378, allocations: 48.55 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5378, allocations: 5.062 kB / 0.9542 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001826/0.538, allocations: 95.86 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.538, allocations: 8.812 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5381, allocations: 1.281 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.5381, allocations: 0 / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.5382, allocations: 18.61 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.5382, allocations: 3.938 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.5384, allocations: 23.25 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.5384, allocations: 1.188 kB / 0.9544 GB, free: 5.121 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.5384, allocations: 119.3 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.5385, allocations: 8.312 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.5385, allocations: 23.05 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5385, allocations: 1.344 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.5385, allocations: 3.938 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5385, allocations: 0 / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5387, allocations: 203.5 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5387, allocations: 2.031 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.5387, allocations: 4.438 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5387, allocations: 1.812 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5388, allocations: 7.984 kB / 0.9547 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5388, allocations: 0 / 0.9547 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5388, allocations: 4.188 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.539, allocations: 190.1 kB / 0.9549 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.539, allocations: 87.02 kB / 0.955 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.539, allocations: 1.812 kB / 0.955 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.5392, allocations: 25.66 kB / 0.955 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.5393, allocations: 21.33 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.5393, allocations: 1.406 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.5394, allocations: 117.1 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5394, allocations: 0 / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002293/0.5396, allocations: 13.44 kB / 0.9552 GB, free: 4.344 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 (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.0003623/0.54, allocations: 0.7185 MB / 0.9559 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.5402, allocations: 68.39 kB / 0.9559 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5402, allocations: 1.031 kB / 0.9559 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.5403, allocations: 34.8 kB / 0.956 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5406, allocations: 17.69 kB / 0.956 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.542, allocations: 1.59 MB / 0.9575 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.788e-05/0.5421, allocations: 0.698 MB / 0.9582 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.206e-05/0.5421, allocations: 15.45 kB / 0.9582 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.5422, allocations: 31.14 kB / 0.9583 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5422, allocations: 0 / 0.9583 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.5571, allocations: 2.719 MB / 0.9609 GB, free: 36 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.528, allocations: 11.58 kB / 0.9609 GB, free: 32 kB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > 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/jenkins1/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