Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8573/0.8573, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.725/1.725, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.869e-05, allocations: 12.33 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001352/0.001371, allocations: 0.8774 MB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.002207, allocations: 0.9327 MB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.002262, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.002298, allocations: 11.81 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.002382, allocations: 19.78 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.002588, allocations: 43.94 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.002704, allocations: 131.6 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.002831, allocations: 37.69 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.002991, allocations: 83.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.003059, allocations: 39.89 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.00308, allocations: 12 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.003124, allocations: 23.94 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.003144, allocations: 31.89 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.003177, allocations: 39.84 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.003343, allocations: 159.5 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003345, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003346, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.003351, allocations: 3.938 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004079/0.003758, allocations: 357.8 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.003795, allocations: 12.75 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.003826, allocations: 42.73 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.003959, allocations: 28.83 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.00414, allocations: 158.2 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.004151, allocations: 8.375 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.004166, allocations: 12.38 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.00432, allocations: 112.2 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.004327, allocations: 4 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004336, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.00434, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.004456, allocations: 75.86 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.004841, allocations: 347.6 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.005011, allocations: 70.67 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.005067, allocations: 44.84 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.005082, allocations: 0 / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.005098, allocations: 42.48 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.005099, allocations: 0 / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002376/0.005337, allocations: 125.7 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.005362, allocations: 55.39 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.005448, allocations: 154.3 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.005462, allocations: 33.69 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.005511, allocations: 112.3 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.005528, allocations: 15.95 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.005563, allocations: 29.7 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.005637, allocations: 322.8 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.005688, allocations: 27.98 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.005769, allocations: 117.8 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.005853, allocations: 52.83 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005855, allocations: 4.031 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001249/0.00598, allocations: 109.5 kB / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005992, allocations: 8 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.005996, allocations: 0 / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.006008, allocations: 7.875 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.006054, allocations: 11.98 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.006059, allocations: 0 / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.006104, allocations: 15.94 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.006112, allocations: 8 kB / 1.004 GB, free: 8.359 MB / 0.9636 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 (9): * Single equations (assignments): 9 * 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 7.062e-05/0.006182, allocations: 121.8 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.0062, allocations: 7.953 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.006231, allocations: 24.75 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.006235, allocations: 3.938 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.00624, allocations: 0 / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.006244, allocations: 0 / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.006434, allocations: 172.7 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006434, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.006466, allocations: 11.98 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.00647, allocations: 4 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.006482, allocations: 4 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.006486, allocations: 3.938 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.006487, allocations: 288 / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.006644, allocations: 199.3 kB / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.006655, allocations: 11.89 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.006671, allocations: 3.938 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.006724, allocations: 19.92 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.006768, allocations: 11.97 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.006773, allocations: 8 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.006825, allocations: 120.1 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006825, allocations: 0 / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001509/0.006976, allocations: 15.95 kB / 1.005 GB, free: 7.562 MB / 0.9636 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 (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 Backend phase and start with SimCode phase: time 0.0003112/0.007287, allocations: 0.7242 MB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.007441, allocations: 75.89 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007442, allocations: 4 kB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.007491, allocations: 35.92 kB / 1.006 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.007693, allocations: 11.92 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.008827, allocations: 1.66 MB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.008882, allocations: 93.31 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.008923, allocations: 8.719 kB / 1.008 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.008984, allocations: 40.42 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.008985, allocations: 0 / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.02528, allocations: 3.37 MB / 1.011 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.185, allocations: 8.203 kB / 1.011 GB, free: 1.559 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.166941584087908]