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.001807/0.001807, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001897/0.001897, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.447/1.447, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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 2.084e-06/2.084e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.454e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003771/0.003805, allocations: 1.525 MB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.005713, allocations: 0.8067 MB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.005803, allocations: 4 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.005844, allocations: 3.938 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.005965, allocations: 19.84 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.006841, allocations: 151.3 kB / 0.9534 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.00703, allocations: 87.7 kB / 0.9535 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.007146, allocations: 7.984 kB / 0.9535 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.007385, allocations: 59.83 kB / 0.9535 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.007504, allocations: 35.88 kB / 0.9536 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.007534, allocations: 8 kB / 0.9536 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.007892, allocations: 147.7 kB / 0.9537 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.007933, allocations: 19.91 kB / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.007995, allocations: 23.98 kB / 0.9538 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.008418, allocations: 183.4 kB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.008421, allocations: 0 / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.92e-07/0.008422, allocations: 0 / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.008428, allocations: 7.875 kB / 0.9539 GB, free: 8.52 MB / 0.8575 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.00109/0.009518, allocations: 393.2 kB / 0.9543 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.009576, allocations: 16.02 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.009981, allocations: 28.88 kB / 0.9544 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.0103, allocations: 136 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.01033, allocations: 4.375 kB / 0.9545 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.01036, allocations: 8.375 kB / 0.9545 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.01057, allocations: 66.22 kB / 0.9546 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01059, allocations: 4.125 kB / 0.9546 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.0106, allocations: 384 / 0.9546 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.01061, allocations: 7.922 kB / 0.9546 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.01077, allocations: 47.97 kB / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.01137, allocations: 240.5 kB / 0.9548 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.01156, allocations: 62.56 kB / 0.9549 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.01165, allocations: 32.84 kB / 0.9549 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.01167, allocations: 0 / 0.9549 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.01189, allocations: 95.3 kB / 0.955 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.01189, allocations: 4 kB / 0.955 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004762/0.01237, allocations: 161.5 kB / 0.9552 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.01242, allocations: 59.5 kB / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.01257, allocations: 137.8 kB / 0.9554 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.0126, allocations: 25.7 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.01267, allocations: 96.73 kB / 0.9555 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.01271, allocations: 27.78 kB / 0.9555 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.01278, allocations: 29.7 kB / 0.9555 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.01293, allocations: 326.8 kB / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.01301, allocations: 31.92 kB / 0.9559 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.01312, allocations: 65.14 kB / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.01333, allocations: 101.1 kB / 0.956 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01333, allocations: 0 / 0.956 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002943/0.01363, allocations: 137.5 kB / 0.9562 GB, free: 6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01364, allocations: 8 kB / 0.9562 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.01365, allocations: 0 / 0.9562 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.01367, allocations: 4 kB / 0.9562 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.0138, allocations: 19.92 kB / 0.9562 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01381, allocations: 0 / 0.9562 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01393, allocations: 15.94 kB / 0.9562 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.01395, allocations: 4 kB / 0.9562 GB, free: 5.949 MB / 0.8575 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 0.0001419/0.01409, allocations: 121.8 kB / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.01411, allocations: 15.89 kB / 0.9564 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.01449, allocations: 149.9 kB / 0.9565 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.0145, allocations: 4 kB / 0.9565 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.0145, allocations: 0 / 0.9565 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.01451, allocations: 3.984 kB / 0.9565 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.01513, allocations: 366 kB / 0.9569 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.01514, allocations: 3.984 kB / 0.9569 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.01521, allocations: 8 kB / 0.9569 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.01522, allocations: 4 kB / 0.9569 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.01524, allocations: 8 kB / 0.9569 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.01525, allocations: 3.984 kB / 0.9569 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01525, allocations: 4 kB / 0.9569 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.0156, allocations: 227.3 kB / 0.9571 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.01562, allocations: 11.95 kB / 0.9571 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.01566, allocations: 7.984 kB / 0.9571 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.01578, allocations: 8.094 kB / 0.9571 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.01584, allocations: 15.95 kB / 0.9571 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.01586, allocations: 4 kB / 0.9572 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.532e-05/0.01594, allocations: 104.5 kB / 0.9573 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01594, allocations: 0 / 0.9573 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003698/0.01631, allocations: 47.86 kB / 0.9573 GB, free: 4.785 MB / 0.8575 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.0004959/0.01681, allocations: 171.3 kB / 0.9575 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.01712, allocations: 87.89 kB / 0.9575 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01712, allocations: 0 / 0.9575 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.01725, allocations: 39.92 kB / 0.9576 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.01758, allocations: 22.8 kB / 0.9576 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.01815, allocations: 201.2 kB / 0.9578 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.01826, allocations: 83.86 kB / 0.9579 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.368e-05/0.01832, allocations: 12.48 kB / 0.9579 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.01836, allocations: 12.5 kB / 0.9579 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of SimCode: time 8.32e-07/0.01836, allocations: 0 / 0.9579 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of Templates: time 0.006439/0.0248, allocations: 1.864 MB / 0.9597 GB, free: 2.297 MB / 0.8575 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: 7.972921680659056]