Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001185/0.001185, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001326/0.001326, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8883/0.8883, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.735/1.735, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.EquipmentOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.237e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001417/0.001439, allocations: 0.7988 MB / 0.9817 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002532, allocations: 1.186 MB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.002578, allocations: 0 / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.002609, allocations: 11.86 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.002681, allocations: 11.88 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.003044, allocations: 144.7 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.003197, allocations: 143.7 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.00331, allocations: 27.92 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.003422, allocations: 83.88 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.003507, allocations: 47.86 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.003529, allocations: 12 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.003586, allocations: 27.98 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.003613, allocations: 19.92 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.003664, allocations: 43.91 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.003854, allocations: 171.5 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003856, allocations: 0 / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.003858, allocations: 4 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003863, allocations: 0 / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005355/0.004398, allocations: 359.6 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.004441, allocations: 8.031 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.004472, allocations: 38.75 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.004511, allocations: 8.891 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.801e-05/0.004589, allocations: 121.7 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.004603, allocations: 16.3 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.004622, allocations: 12.38 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.004781, allocations: 78.22 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004788, allocations: 192 / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.0048, allocations: 8.375 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004806, allocations: 8.125 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.00492, allocations: 63.88 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.005326, allocations: 311.8 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.005429, allocations: 54.48 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.00548, allocations: 28.94 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.00549, allocations: 4 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.005636, allocations: 87.31 kB / 0.9848 GB, free: 14.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.005637, allocations: 0 / 0.9848 GB, free: 14.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002587/0.005896, allocations: 129.6 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.005931, allocations: 51.41 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.006019, allocations: 133.7 kB / 0.9851 GB, free: 14.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.006044, allocations: 33.7 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.006163, allocations: 104.1 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.00618, allocations: 19.84 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.00623, allocations: 33.7 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.0063, allocations: 322.8 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.006413, allocations: 81.66 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.006523, allocations: 134.8 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.006656, allocations: 120.2 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.006659, allocations: 4 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002451/0.006904, allocations: 224.9 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.006932, allocations: 29.7 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006937, allocations: 0 / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.006948, allocations: 4 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.007011, allocations: 7.984 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.007018, allocations: 12.08 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.007125, allocations: 35.95 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.007142, allocations: 15.97 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.46e-05/0.007206, allocations: 121.8 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.007215, allocations: 3.953 kB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.007238, allocations: 12.44 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00724, allocations: 0 / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007244, allocations: 4 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.007248, allocations: 96 / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.051e-05/0.007339, allocations: 164.9 kB / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00734, allocations: 0 / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.007367, allocations: 12 kB / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.00737, allocations: 7.969 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.007379, allocations: 4 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.00738, allocations: 0 / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007381, allocations: 0 / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.007527, allocations: 132.9 kB / 0.9866 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.007536, allocations: 15.89 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007549, allocations: 0 / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/0.007579, allocations: 7.984 kB / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.00763, allocations: 15.98 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.007636, allocations: 0 / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.00767, allocations: 91.27 kB / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00767, allocations: 0 / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001515/0.007822, allocations: 27.94 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000346/0.008168, allocations: 0.6748 MB / 0.9874 GB, free: 11.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.008401, allocations: 181 kB / 0.9876 GB, free: 11.37 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.008402, allocations: 0 / 0.9876 GB, free: 11.37 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.95e-05/0.008462, allocations: 31.92 kB / 0.9876 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.008609, allocations: 18.77 kB / 0.9877 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.009877, allocations: 1.716 MB / 0.9893 GB, free: 9.477 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.009922, allocations: 78.16 kB / 0.9894 GB, free: 9.383 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.009949, allocations: 11.75 kB / 0.9894 GB, free: 9.371 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.009992, allocations: 28.48 kB / 0.9895 GB, free: 9.34 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.009993, allocations: 0 / 0.9895 GB, free: 9.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.02525, allocations: 3.629 MB / 0.993 GB, free: 5.883 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.855, allocations: 6.516 kB / 0.993 GB, free: 5.883 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 10.887706176377833]