Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001693, allocations: 103.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.73/2.73, allocations: 437 MB / 0.717 GB, free: 4.156 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.88 kB / 1.027 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8377, allocations: 151.6 MB / 1.175 GB, free: 17.94 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002486/0.8402, allocations: 1.498 MB / 1.177 GB, free: 16.9 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.8415, allocations: 0.7573 MB / 1.177 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.8416, allocations: 3.938 kB / 1.177 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.8416, allocations: 6.828 kB / 1.177 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.8417, allocations: 19.59 kB / 1.177 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.8423, allocations: 130.3 kB / 1.177 GB, free: 16.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.8424, allocations: 80.19 kB / 1.178 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.8425, allocations: 12.58 kB / 1.178 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8426, allocations: 44.03 kB / 1.178 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.8427, allocations: 41.48 kB / 1.178 GB, free: 16.21 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.8427, allocations: 6.688 kB / 1.178 GB, free: 16.21 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.8429, allocations: 95.11 kB / 1.178 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.843, allocations: 11.08 kB / 1.178 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.843, allocations: 42.02 kB / 1.178 GB, free: 16.15 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.8433, allocations: 153 kB / 1.178 GB, free: 16.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8433, allocations: 4 kB / 1.178 GB, free: 16.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8433, allocations: 0.5625 kB / 1.178 GB, free: 16.1 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8433, allocations: 0 / 1.178 GB, free: 16.1 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008402/0.8442, allocations: 464.8 kB / 1.178 GB, free: 15.64 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8442, allocations: 13.22 kB / 1.178 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.8443, allocations: 10.34 kB / 1.178 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.8445, allocations: 175.2 kB / 1.179 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.8445, allocations: 8.234 kB / 1.179 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.8445, allocations: 7.938 kB / 1.179 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.8448, allocations: 80.47 kB / 1.179 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8448, allocations: 0 / 1.179 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.8448, allocations: 6.188 kB / 1.179 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.8448, allocations: 1.719 kB / 1.179 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.845, allocations: 40.58 kB / 1.179 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.8457, allocations: 323.9 kB / 1.179 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.8459, allocations: 67.2 kB / 1.179 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.846, allocations: 36.61 kB / 1.179 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.846, allocations: 3.062 kB / 1.179 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.8463, allocations: 90.59 kB / 1.179 GB, free: 14.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.8463, allocations: 4 kB / 1.179 GB, free: 14.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004694/0.8468, allocations: 157.3 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.8468, allocations: 54.31 kB / 1.179 GB, free: 14.79 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.8469, allocations: 140.5 kB / 1.18 GB, free: 14.67 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.8469, allocations: 31.05 kB / 1.18 GB, free: 14.64 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.847, allocations: 88.94 kB / 1.18 GB, free: 14.55 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.847, allocations: 26.58 kB / 1.18 GB, free: 14.53 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.8471, allocations: 34.58 kB / 1.18 GB, free: 14.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.8471, allocations: 324.8 kB / 1.18 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.8472, allocations: 27.48 kB / 1.18 GB, free: 14.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.8473, allocations: 62.67 kB / 1.18 GB, free: 14.12 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.8475, allocations: 100.5 kB / 1.18 GB, free: 14.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8475, allocations: 0 / 1.18 GB, free: 14.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002355/0.8477, allocations: 129.7 kB / 1.18 GB, free: 13.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8478, allocations: 14.48 kB / 1.18 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8478, allocations: 1.375 kB / 1.18 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8478, allocations: 2.656 kB / 1.18 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.8479, allocations: 17.3 kB / 1.18 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.8479, allocations: 3.062 kB / 1.18 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.972e-05/0.848, allocations: 17.09 kB / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.848, allocations: 5.562 kB / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 8.416e-05/0.8481, allocations: 133.3 kB / 1.181 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.8482, allocations: 12.05 kB / 1.181 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.8485, allocations: 142.4 kB / 1.181 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.8485, allocations: 1.312 kB / 1.181 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8485, allocations: 4.609 kB / 1.181 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8485, allocations: 0.5156 kB / 1.181 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.849, allocations: 433.3 kB / 1.181 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8491, allocations: 0 / 1.181 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.8491, allocations: 14.78 kB / 1.181 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8491, allocations: 3.984 kB / 1.181 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.8492, allocations: 2.594 kB / 1.181 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.8492, allocations: 2.281 kB / 1.181 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8492, allocations: 3.938 kB / 1.181 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.8495, allocations: 226.8 kB / 1.181 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.8495, allocations: 84.48 kB / 1.181 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.8495, allocations: 13.84 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.8496, allocations: 8.938 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.8497, allocations: 15.84 kB / 1.181 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.8497, allocations: 5.234 kB / 1.181 GB, free: 13.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.8498, allocations: 101 kB / 1.182 GB, free: 13.02 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8498, allocations: 0 / 1.182 GB, free: 13.02 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003194/0.8501, allocations: 45.36 kB / 1.182 GB, free: 13.01 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000416/0.8505, allocations: 159.5 kB / 1.182 GB, free: 12.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.8508, allocations: 85.06 kB / 1.182 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8508, allocations: 1.656 kB / 1.182 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.8509, allocations: 41.08 kB / 1.182 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.8512, allocations: 17.94 kB / 1.182 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.8517, allocations: 218.2 kB / 1.182 GB, free: 12.69 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.8518, allocations: 0.6933 MB / 1.183 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.683e-05/0.8519, allocations: 9.047 kB / 1.183 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.8519, allocations: 18.17 kB / 1.183 GB, free: 11.98 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.8519, allocations: 0 / 1.183 GB, free: 11.98 MB / 0.92 GB Notification: Performance of Templates: time 0.005693/0.8576, allocations: 1.816 MB / 1.185 GB, free: 11.8 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches