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.001552/0.001552, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002307/0.002307, allocations: 210.7 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 73.42 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002264/0.3311, allocations: 0.7899 MB / 1.326 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3327, allocations: 1.182 MB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.3328, allocations: 0 / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.3328, allocations: 7.875 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.3329, allocations: 19.88 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.3334, allocations: 146.8 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3336, allocations: 139.7 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3338, allocations: 24.25 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3339, allocations: 55.91 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.334, allocations: 51.89 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.334, allocations: 12 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.3341, allocations: 31.94 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.3341, allocations: 15.98 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.3342, allocations: 51.83 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3344, allocations: 155.3 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3344, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.093e-06/0.3344, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3344, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0006761/0.3351, allocations: 359.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3351, allocations: 12.03 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.3352, allocations: 34.75 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3352, allocations: 16.89 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3353, allocations: 114.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3354, allocations: 4.375 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3354, allocations: 16.36 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3356, allocations: 88.91 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3356, allocations: 3.938 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3356, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3356, allocations: 4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.3359, allocations: 59.94 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.3364, allocations: 331.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3366, allocations: 50.55 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3367, allocations: 24.94 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3367, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.337, allocations: 91.23 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.337, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004307/0.3374, allocations: 129.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.3375, allocations: 55.41 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3376, allocations: 125.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3376, allocations: 29.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.3377, allocations: 108 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3377, allocations: 11.84 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.3378, allocations: 37.7 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3379, allocations: 326.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3381, allocations: 81.66 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3383, allocations: 138.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3386, allocations: 116.2 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3386, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004539/0.339, allocations: 221 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.3391, allocations: 37.7 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3391, allocations: 80 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3391, allocations: 3.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.3392, allocations: 11.98 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3392, allocations: 7.922 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.3394, allocations: 43.97 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.3394, allocations: 7.984 kB / 1.33 GB, free: 12.79 MB / 1.029 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 0.0001066/0.3395, allocations: 122.4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.3396, allocations: 7.953 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.3396, allocations: 8.375 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3396, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3396, allocations: 3.938 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3396, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3398, allocations: 152.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3398, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.3398, allocations: 11.92 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3398, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3398, allocations: 12.23 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3398, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3398, allocations: 7.938 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.3401, allocations: 125 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-06/0.3401, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3402, allocations: 8 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.3402, allocations: 11.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.3403, allocations: 11.92 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3403, allocations: 8.094 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.3404, allocations: 95.64 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3404, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000223/0.3406, allocations: 27.89 kB / 1.331 GB, free: 12.11 MB / 1.029 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.0006257/0.3412, allocations: 0.667 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3416, allocations: 189.1 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3416, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3417, allocations: 23.98 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.3419, allocations: 24.25 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.344, allocations: 1.73 MB / 1.333 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.786e-05/0.3441, allocations: 75.33 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.3441, allocations: 3.984 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.3442, allocations: 23.44 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3442, allocations: 4 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.3743, allocations: 3.477 MB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.13, allocations: 15.81 kB / 1.337 GB, free: 5.848 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.675603283103555]