Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.0007855/0.0007855, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000761/0.000761, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9033/0.9033, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.651/1.651, allocations: 359 MB / 0.6044 GB, free: 11.1 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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9517 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.723e-05, allocations: 10.22 kB / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001906/0.001933, allocations: 1.514 MB / 0.9532 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002946, allocations: 0.8067 MB / 0.954 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.003, allocations: 0 / 0.954 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.003033, allocations: 11.86 kB / 0.954 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.003117, allocations: 15.86 kB / 0.954 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.003621, allocations: 155.3 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.003726, allocations: 83.72 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.003811, allocations: 11.92 kB / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.003969, allocations: 59.81 kB / 0.9543 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.004027, allocations: 35.89 kB / 0.9543 GB, free: 352 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.004047, allocations: 12 kB / 0.9543 GB, free: 340 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.004241, allocations: 143.7 kB / 0.9545 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.004263, allocations: 19.92 kB / 0.9545 GB, free: 176 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.0043, allocations: 23.97 kB / 0.9545 GB, free: 152 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.00454, allocations: 179.4 kB / 0.9547 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.004543, allocations: 4 kB / 0.9547 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004543, allocations: 0 / 0.9547 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004547, allocations: 0 / 0.9547 GB, free: 15.97 MB / 0.9167 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.0005444/0.005092, allocations: 393.2 kB / 0.9551 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.005126, allocations: 12.03 kB / 0.9551 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.005303, allocations: 28.86 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.00548, allocations: 145.1 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005494, allocations: 384 / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.005507, allocations: 8.375 kB / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.005641, allocations: 70.2 kB / 0.9553 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005649, allocations: 192 / 0.9553 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.005662, allocations: 4.375 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.005668, allocations: 7.938 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.005751, allocations: 39.97 kB / 0.9554 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.0061, allocations: 248.5 kB / 0.9556 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.006204, allocations: 54.56 kB / 0.9557 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.00625, allocations: 28.84 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.00627, allocations: 8 kB / 0.9557 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.006398, allocations: 103.3 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.006399, allocations: 7.938 kB / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002822/0.006682, allocations: 161.5 kB / 0.956 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.006715, allocations: 51.41 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.006798, allocations: 129.8 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.00681, allocations: 25.7 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.006853, allocations: 96.52 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.006875, allocations: 27.78 kB / 0.9563 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.006915, allocations: 33.7 kB / 0.9563 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.006993, allocations: 318.8 kB / 0.9566 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.007043, allocations: 35.98 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.007105, allocations: 65.12 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.007216, allocations: 105 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.007218, allocations: 4 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001508/0.007369, allocations: 137.4 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.007382, allocations: 8 kB / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007386, allocations: 0 / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.007398, allocations: 4 kB / 0.9569 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.007465, allocations: 11.98 kB / 0.957 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.007472, allocations: 7.938 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.00752, allocations: 7.984 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.007531, allocations: 12 kB / 0.957 GB, free: 13.39 MB / 0.9167 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 6.779e-05/0.007599, allocations: 121.8 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.00761, allocations: 15.89 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.007826, allocations: 153.9 kB / 0.9573 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007829, allocations: 0 / 0.9573 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.007832, allocations: 0 / 0.9573 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007835, allocations: 0 / 0.9573 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.008171, allocations: 362.1 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008173, allocations: 0 / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.008208, allocations: 15.92 kB / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008211, allocations: 4 kB / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.008221, allocations: 8 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008222, allocations: 0 / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008224, allocations: 0 / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.008392, allocations: 235.5 kB / 0.9579 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.008403, allocations: 7.953 kB / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.008418, allocations: 0 / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.008471, allocations: 12.36 kB / 0.9579 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.00851, allocations: 7.984 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.008523, allocations: 4 kB / 0.9579 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.008566, allocations: 111.2 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008566, allocations: 3.938 kB / 0.958 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002202/0.008787, allocations: 47.83 kB / 0.958 GB, free: 12.23 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: 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.0002775/0.009064, allocations: 180.6 kB / 0.9582 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.009226, allocations: 83.89 kB / 0.9583 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.009227, allocations: 0 / 0.9583 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.009291, allocations: 47.91 kB / 0.9583 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.009493, allocations: 12.16 kB / 0.9584 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.009914, allocations: 238.8 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.067e-05/0.009965, allocations: 83.92 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.009996, allocations: 16.5 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of SimCode: time 2.6e-07/0.009996, allocations: 0 / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of Templates: time 0.002649/0.01265, allocations: 1.898 MB / 0.9605 GB, free: 9.652 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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: 6.907569321803749]