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: "" <> 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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001272/0.001272, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.086/2.086, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 55.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5105, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001638/0.5121, allocations: 0.9396 MB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.5127, allocations: 0.8678 MB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.5128, allocations: 2 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.5128, allocations: 3.938 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.5129, allocations: 9.281 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.513, allocations: 37.27 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.547e-05/0.5131, allocations: 100.9 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.5132, allocations: 40.53 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.5133, allocations: 48.89 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.5134, allocations: 44.34 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.5134, allocations: 5.438 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.5134, allocations: 8.406 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.5134, allocations: 18.34 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.5135, allocations: 43.05 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.01e-05/0.5136, allocations: 119.7 kB / 0.9513 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.5136, allocations: 0 / 0.9513 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.5136, allocations: 1.344 kB / 0.9513 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.5136, allocations: 0 / 0.9513 GB, free: 7.402 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.0006735/0.5143, allocations: 461.9 kB / 0.9517 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.5143, allocations: 9.625 kB / 0.9517 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.5143, allocations: 41.5 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.5144, allocations: 18.33 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/0.5145, allocations: 195.6 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.5145, allocations: 4.5 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.5145, allocations: 8.5 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.5147, allocations: 94 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.5147, allocations: 3.938 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.5147, allocations: 1.375 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5147, allocations: 1.375 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.5149, allocations: 75.77 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.5154, allocations: 399 kB / 0.9525 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.5155, allocations: 63.08 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.5156, allocations: 32.47 kB / 0.9526 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5156, allocations: 4 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.5157, allocations: 36.03 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.5157, allocations: 0 / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002829/0.516, allocations: 112.6 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.386e-05/0.516, allocations: 63.28 kB / 0.9528 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.5161, allocations: 152.1 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.5161, allocations: 29.64 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.5161, allocations: 105.6 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.5161, allocations: 26.64 kB / 0.9531 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.5162, allocations: 18.59 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.5162, allocations: 321.8 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.5163, allocations: 26.55 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.5164, allocations: 31.97 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.5165, allocations: 53.73 kB / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5165, allocations: 0 / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001755/0.5167, allocations: 100.8 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.5167, allocations: 5.156 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.5167, allocations: 0 / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.5167, allocations: 0.8438 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.5168, allocations: 9.922 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.257e-06/0.5168, allocations: 3.938 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.517, allocations: 27 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.517, allocations: 1.156 kB / 0.9537 GB, free: 5.16 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.179e-05/0.517, allocations: 123.2 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.5171, allocations: 8.938 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.5171, allocations: 13.8 kB / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5171, allocations: 5.688 kB / 0.9538 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.5171, allocations: 3.938 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.5171, allocations: 0 / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.5172, allocations: 203.5 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5173, allocations: 1.219 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.5173, allocations: 9.891 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5173, allocations: 0 / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.5173, allocations: 9.312 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5173, allocations: 0 / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5173, allocations: 5.156 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.5175, allocations: 189.9 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.5175, allocations: 87.23 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.5176, allocations: 1.219 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5178, allocations: 29 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.5178, allocations: 22.16 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.5178, allocations: 1.438 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.5179, allocations: 117.5 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5179, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002112/0.5181, allocations: 12.09 kB / 0.9545 GB, free: 4.379 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.0003045/0.5184, allocations: 0.7227 MB / 0.9552 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.5186, allocations: 65.28 kB / 0.9553 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.5186, allocations: 0 / 0.9553 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.5187, allocations: 38.72 kB / 0.9553 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.5189, allocations: 20.38 kB / 0.9553 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.5201, allocations: 1.599 MB / 0.9569 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/0.5202, allocations: 0.6932 MB / 0.9576 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.049e-05/0.5203, allocations: 16.53 kB / 0.9576 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.5203, allocations: 30.3 kB / 0.9576 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5203, allocations: 3.938 kB / 0.9576 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1646/0.6849, allocations: 2.369 MB / 0.9599 GB, free: 304 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.6851, allocations: 221.2 kB / 0.9601 GB, free: 40 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.351, allocations: 0 / 0.9601 GB, free: 40 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