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.0008308/0.0008308, 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.0008374/0.0008374, allocations: 169.9 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.8784/0.8784, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.786/1.786, allocations: 377.9 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.322e-06/1.322e-06, allocations: 0 / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.105e-05, allocations: 4.953 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001347/0.001368, allocations: 0.7988 MB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.002658, allocations: 1.186 MB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.002709, allocations: 0 / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.002743, allocations: 7.875 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.002818, allocations: 19.8 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.003199, allocations: 138.7 kB / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.003349, allocations: 147.7 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.003446, allocations: 23.92 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.003559, allocations: 83.86 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.003644, allocations: 51.86 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.003666, allocations: 12 kB / 0.9834 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.003721, allocations: 27.98 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.003744, allocations: 15.98 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.003792, allocations: 43.91 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.003977, allocations: 171.5 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.00398, allocations: 0 / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003981, allocations: 0 / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003985, allocations: 4 kB / 0.9836 GB, free: 15.87 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.0004712/0.004456, allocations: 359.7 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.004498, allocations: 8.031 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.004526, allocations: 34.75 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.004564, allocations: 20.83 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.004639, allocations: 121.6 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.004651, allocations: 8.375 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.004668, allocations: 12.38 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.00482, allocations: 82.16 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004826, allocations: 192 / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.004838, allocations: 8.375 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004844, allocations: 8.125 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.004959, allocations: 59.94 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.005357, allocations: 315.7 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.005463, allocations: 50.55 kB / 0.9847 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.005516, allocations: 32.92 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.005528, allocations: 7.984 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.005675, allocations: 87.27 kB / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.005676, allocations: 0 / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002674/0.005944, allocations: 125.6 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.005974, allocations: 51.41 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.006046, allocations: 129.7 kB / 0.9851 GB, free: 14.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.006066, allocations: 33.7 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.006114, allocations: 100 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.006131, allocations: 19.91 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.00618, allocations: 33.7 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.006255, allocations: 322.8 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.006363, allocations: 81.66 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.006482, allocations: 138.7 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.006616, allocations: 116.3 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006619, allocations: 4 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002478/0.006867, allocations: 224.9 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.006894, allocations: 33.7 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006898, allocations: 3.938 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.006909, allocations: 7.984 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.006965, allocations: 7.938 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006971, allocations: 4.078 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.007082, allocations: 40.02 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.007098, 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.666e-05/0.007165, allocations: 121.8 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.007173, allocations: 3.953 kB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.007194, allocations: 12.44 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007196, allocations: 0 / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.0072, allocations: 96 / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.007204, allocations: 11.92 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.007291, allocations: 153 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007293, allocations: 4 kB / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.007322, allocations: 15.98 kB / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007324, allocations: 0 / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.007331, allocations: 0 / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007331, allocations: 0 / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007332, allocations: 3.938 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.007481, allocations: 129 kB / 0.9866 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.007489, allocations: 15.89 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007501, allocations: 0 / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.007532, allocations: 7.984 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.007574, allocations: 11.98 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.007581, allocations: 7.984 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.007616, allocations: 87.28 kB / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007616, allocations: 0 / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001507/0.007767, allocations: 31.98 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.0003516/0.008119, allocations: 0.667 MB / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.008354, allocations: 185 kB / 0.9876 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008355, allocations: 0 / 0.9876 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.057e-05/0.008416, allocations: 31.97 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.0001486/0.008564, allocations: 12.06 kB / 0.9877 GB, free: 11.33 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.009864, allocations: 1.734 MB / 0.9894 GB, free: 9.473 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.137e-05/0.009915, allocations: 75.58 kB / 0.9894 GB, free: 9.379 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.009943, allocations: 11.75 kB / 0.9894 GB, free: 9.367 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.009986, allocations: 24.48 kB / 0.9895 GB, free: 9.34 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.009986, allocations: 0 / 0.9895 GB, free: 9.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.02664, allocations: 3.628 MB / 0.993 GB, free: 5.891 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.096, allocations: 7.188 kB / 0.993 GB, free: 5.887 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable conEquSta.TBoi in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.TBoi from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onSys in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onSys from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onPum in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onPum from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onBoi in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onBoi from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.256132548674941]