Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001623/0.001623, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002004/0.002004, allocations: 217 kB / 22.25 MB, free: 5.082 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 3.393/3.393, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_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.002084/0.002084, allocations: 70.66 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002131/0.3555, allocations: 0.8155 MB / 1.354 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3574, allocations: 1.191 MB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.3574, allocations: 4 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.3575, allocations: 7.875 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3576, allocations: 19.84 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.3582, allocations: 148.4 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.3584, allocations: 139.8 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3586, allocations: 28.23 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3587, allocations: 59.84 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3589, allocations: 59.8 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.3589, allocations: 20 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.359, allocations: 27.92 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.359, allocations: 23.92 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.3591, allocations: 43.86 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.3594, allocations: 159.4 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3594, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3594, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3595, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.045 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.0008489/0.3603, allocations: 359.7 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.3604, allocations: 8.031 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.3604, allocations: 38.75 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.3605, allocations: 12.88 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3606, allocations: 122.4 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3607, allocations: 8.375 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.3607, allocations: 8.375 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.3609, allocations: 82.2 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3609, allocations: 3.938 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.361, allocations: 12 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.361, allocations: 0 / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.3612, allocations: 59.89 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.3619, allocations: 355.5 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3621, allocations: 58.48 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.3622, allocations: 28.92 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3622, allocations: 4 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.3625, allocations: 83.36 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3625, allocations: 0 / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004179/0.3629, allocations: 125.6 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3629, allocations: 63.33 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.363, allocations: 129.7 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3631, allocations: 25.7 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.3631, allocations: 104.1 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.3632, allocations: 11.84 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.3632, allocations: 41.69 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3634, allocations: 322.8 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3635, allocations: 51.95 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.3637, allocations: 75.41 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3639, allocations: 124.2 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.364, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004294/0.3644, allocations: 195.2 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.3644, allocations: 33.69 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3644, allocations: 4 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3645, allocations: 0 / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.3646, allocations: 16.05 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3646, allocations: 3.938 kB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.3648, allocations: 39.95 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3648, allocations: 4 kB / 1.358 GB, free: 2.914 MB / 1.045 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.0001413/0.3649, allocations: 126.4 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.365, allocations: 3.953 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.365, allocations: 20.36 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.365, allocations: 0 / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.365, allocations: 3.938 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.365, allocations: 3.938 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3652, allocations: 160.7 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3652, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.3653, allocations: 8 kB / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3653, allocations: 0 / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3653, allocations: 3.984 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.3653, allocations: 320 / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3653, allocations: 8.031 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.3656, allocations: 129 kB / 1.358 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.3656, allocations: 11.92 kB / 1.358 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3656, allocations: 4 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.3657, allocations: 15.92 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.3658, allocations: 11.92 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3658, allocations: 8 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.3658, allocations: 95.27 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.3658, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002271/0.3661, allocations: 23.94 kB / 1.359 GB, free: 2.219 MB / 1.045 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.0006246/0.3667, allocations: 0.6632 MB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3671, allocations: 155.3 kB / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3671, allocations: 0 / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3672, allocations: 31.97 kB / 1.359 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.3674, allocations: 23.98 kB / 1.359 GB, free: 1.309 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.3695, allocations: 1.598 MB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3698, allocations: 0.6924 MB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.3699, allocations: 4 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.3699, allocations: 27.42 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3699, allocations: 0 / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.4056, allocations: 2.926 MB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.28, allocations: 12.88 kB / 1.365 GB, free: 12.07 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.32519330503419]