Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 112.7 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 186.3 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 59.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7131, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002233/0.7153, allocations: 0.8261 MB / 1.219 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.717, allocations: 1.162 MB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.7171, allocations: 1.188 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.7171, allocations: 7.875 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.7172, allocations: 26.59 kB / 1.22 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.7178, allocations: 143.9 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.718, allocations: 141.7 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.7181, allocations: 33.02 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.7182, allocations: 51.84 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.7184, allocations: 65.61 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.7184, allocations: 14.19 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.7185, allocations: 28.48 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.7185, allocations: 19.23 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.7186, allocations: 53.66 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.7189, allocations: 161.6 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7189, allocations: 0 / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7189, allocations: 0 / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7189, allocations: 0 / 1.221 GB, free: 1.652 MB / 0.92 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.0007185/0.7196, allocations: 434.3 kB / 1.222 GB, free: 1.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.7196, allocations: 9.344 kB / 1.222 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.7197, allocations: 16.11 kB / 1.222 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.7198, allocations: 179.5 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7199, allocations: 4.562 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.7199, allocations: 12.59 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.7201, allocations: 80.91 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7201, allocations: 192 / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.7202, allocations: 12.95 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7202, allocations: 2.188 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.7204, allocations: 59.48 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.721, allocations: 374 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.7211, allocations: 50.2 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.7212, allocations: 25.47 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.7213, allocations: 4.969 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.7215, allocations: 90.14 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.7215, allocations: 0 / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004453/0.7219, allocations: 122.1 kB / 1.223 GB, free: 320 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.722, allocations: 56.38 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.7221, allocations: 133.4 kB / 1.223 GB, free: 124 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.7221, allocations: 32.92 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.7222, allocations: 100.6 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.7223, allocations: 22.02 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.7223, allocations: 33.58 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7225, allocations: 320.9 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.7226, allocations: 50.47 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.7228, allocations: 90.08 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.7231, allocations: 112.4 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7231, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004442/0.7235, allocations: 202.2 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.7236, allocations: 32.61 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7236, allocations: 1.156 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7236, allocations: 5.141 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.7237, allocations: 14.14 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7237, allocations: 5 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.7239, allocations: 47.73 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.724, allocations: 4.844 kB / 1.224 GB, free: 15.24 MB / 0.9356 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.0001176/0.7241, allocations: 123.6 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.7241, allocations: 6.609 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.7241, allocations: 10.56 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7241, allocations: 0 / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7241, allocations: 5.062 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.7241, allocations: 7.938 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.7243, allocations: 189.8 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7243, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.7244, allocations: 8.984 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7244, allocations: 1.156 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.7244, allocations: 1.062 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7244, allocations: 3.938 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7244, allocations: 1.031 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.7247, allocations: 130.4 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.7247, allocations: 86.88 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.7248, allocations: 1 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.7248, allocations: 13.39 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.7249, allocations: 16.16 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.7249, allocations: 6.188 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.725, allocations: 96.36 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.725, allocations: 1.062 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002304/0.7252, allocations: 24.97 kB / 1.224 GB, free: 14.55 MB / 0.9356 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.0001415/0.7253, allocations: 106.3 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.7257, allocations: 155.4 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7257, allocations: 0 / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.7259, allocations: 35.83 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.7261, allocations: 15.64 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.7265, allocations: 177.8 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.7268, allocations: 0.6984 MB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.7268, allocations: 3.25 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.7268, allocations: 18.62 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7268, allocations: 1.156 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.005083/0.7319, allocations: 1.665 MB / 1.227 GB, free: 12.6 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.410974886268377]