Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000805/0.000805, 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.0007851/0.0007851, allocations: 165.9 kB / 22.46 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.857/0.857, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.217e-05, allocations: 9.375 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001289/0.001301, allocations: 0.8065 MB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.002482, allocations: 1.179 MB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.002532, allocations: 0 / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.002565, allocations: 11.88 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.002642, allocations: 15.86 kB / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.003037, allocations: 138.5 kB / 0.9526 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.003204, allocations: 147.7 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.003315, allocations: 27.91 kB / 0.9528 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.003428, allocations: 75.94 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.003515, allocations: 51.86 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.003538, allocations: 12 kB / 0.9529 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.003592, allocations: 24 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.003619, allocations: 23.91 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.003672, allocations: 43.91 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.003856, allocations: 167.5 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003857, allocations: 4 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003858, allocations: 0 / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.003863, allocations: 0 / 0.9531 GB, free: 0.7617 MB / 0.9011 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.0005098/0.004372, allocations: 359.7 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.00441, allocations: 8.031 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.004442, allocations: 46.73 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.004482, allocations: 8.891 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.19e-05/0.004554, allocations: 117.7 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.004568, allocations: 8.375 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.004586, allocations: 8.375 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.004742, allocations: 86.19 kB / 0.9538 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.004749, allocations: 8.125 kB / 0.9538 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.004758, allocations: 384 / 0.9538 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004763, allocations: 4.125 kB / 0.9538 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.004888, allocations: 60.09 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.005299, allocations: 327.7 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.005401, allocations: 54.48 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.005452, allocations: 24.94 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.005462, allocations: 4 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.0056, allocations: 83.31 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.005601, allocations: 8 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002625/0.005863, allocations: 125.6 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.005894, allocations: 51.41 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.005962, allocations: 129.8 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.00598, allocations: 33.64 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.539e-05/0.006026, allocations: 99.89 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.006042, allocations: 19.88 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.00613, allocations: 37.7 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.006201, allocations: 326.8 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.006307, allocations: 77.67 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.006428, allocations: 142.7 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.006565, allocations: 116.5 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006567, allocations: 0 / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002534/0.00682, allocations: 229 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.006847, allocations: 33.7 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006852, allocations: 4 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.006864, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.006922, allocations: 11.92 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.006927, allocations: 4 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.007035, allocations: 40.02 kB / 0.9557 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.007048, allocations: 4 kB / 0.9557 GB, free: 13.85 MB / 0.9167 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 7.103e-05/0.007119, allocations: 129.8 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.007128, allocations: 7.953 kB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.007151, allocations: 8.438 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007153, allocations: 0 / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.007157, allocations: 0 / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.00716, allocations: 0 / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.821e-05/0.007258, allocations: 156.6 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007261, allocations: 11.92 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.007285, allocations: 8 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.007286, allocations: 0 / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.007295, allocations: 0 / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.007298, allocations: 3.984 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007299, allocations: 4 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.007443, allocations: 124.9 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.007451, allocations: 7.953 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.007466, allocations: 3.984 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.007499, allocations: 19.98 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.007543, allocations: 7.984 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.007549, allocations: 0 / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.007587, allocations: 99.27 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007587, allocations: 0 / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001441/0.007731, allocations: 20.09 kB / 0.9563 GB, free: 13.17 MB / 0.9167 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.0004075/0.008138, allocations: 0.6787 MB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.00837, allocations: 185 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008372, allocations: 3.938 kB / 0.9571 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.008432, allocations: 31.98 kB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.008576, allocations: 19.33 kB / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.009821, allocations: 1.733 MB / 0.9589 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/0.009865, allocations: 79.3 kB / 0.959 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.533e-05/0.00989, allocations: 4 kB / 0.959 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.009932, allocations: 28.48 kB / 0.959 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.009933, allocations: 4 kB / 0.959 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.02624, allocations: 3.624 MB / 0.9625 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.01, allocations: 2.234 kB / 0.9625 GB, free: 6.77 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.8585010683164]