Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 104.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002119, allocations: 66.59 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.005012/0.3413, allocations: 1.509 MB / 0.9517 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002566/0.3439, allocations: 0.7595 MB / 0.9525 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.344, allocations: 8 kB / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.797e-05/0.3441, allocations: 3.938 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.3443, allocations: 7.875 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009544/0.3453, allocations: 127.5 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3455, allocations: 91.69 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3457, allocations: 11.98 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3459, allocations: 43.84 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.346, allocations: 35.89 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.3461, allocations: 8 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.3464, allocations: 99.78 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.3465, allocations: 15.98 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.3466, allocations: 35.8 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.347, allocations: 155.9 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3471, allocations: 3.938 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3471, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3471, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7325 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.001185/0.3483, allocations: 464 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3484, allocations: 11.97 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.3484, allocations: 8.844 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3487, allocations: 176.2 kB / 0.9537 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.3487, allocations: 8.375 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.3488, allocations: 4.375 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.3491, allocations: 81.95 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3491, allocations: 0 / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3492, allocations: 0 / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3492, allocations: 3.938 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.3494, allocations: 47.91 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.3503, allocations: 320.6 kB / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3507, allocations: 62.59 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3508, allocations: 36.84 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.3509, allocations: 8.141 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.3513, allocations: 91.34 kB / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 3.306e-06/0.3513, allocations: 0 / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007154/0.352, allocations: 157.5 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.3521, allocations: 55.41 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3523, allocations: 126.2 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3524, allocations: 29.7 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.3525, allocations: 92.36 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.3525, allocations: 19.72 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.3526, allocations: 37.64 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3528, allocations: 326.8 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.353, allocations: 31.92 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3532, allocations: 65.12 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3535, allocations: 101.1 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3536, allocations: 0 / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004999/0.3541, allocations: 129.4 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3541, allocations: 8 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3541, allocations: 0 / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3542, allocations: 12.12 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3544, allocations: 15.92 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3544, allocations: 4 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3546, allocations: 19.83 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3546, allocations: 8 kB / 0.9555 GB, free: 3.207 MB / 0.7325 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.0001633/0.3548, allocations: 123.7 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3549, allocations: 7.906 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.3554, allocations: 153.9 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3554, allocations: 4 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3554, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3555, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3565, allocations: 434.2 kB / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3565, allocations: 0 / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3566, allocations: 11.98 kB / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3567, allocations: 4 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.3567, allocations: 4 kB / 0.9563 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3567, allocations: 0 / 0.9563 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.3567, allocations: 7.922 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.3573, allocations: 223.3 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.3574, allocations: 92.95 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3574, allocations: 0 / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.3577, allocations: 11.98 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.3578, allocations: 19.92 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.3578, allocations: 7.922 kB / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001125/0.3579, allocations: 98.77 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/0.358, allocations: 0 / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005921/0.3586, allocations: 44 kB / 0.9567 GB, free: 1.883 MB / 0.7325 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.0005536/0.3591, allocations: 164 kB / 0.9569 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.3596, allocations: 91.83 kB / 0.957 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3596, allocations: 0 / 0.957 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3598, allocations: 47.97 kB / 0.957 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.3603, allocations: 16.25 kB / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.3612, allocations: 241.2 kB / 0.9573 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.3616, allocations: 0.6963 MB / 0.958 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.3617, allocations: 11.44 kB / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.3617, allocations: 0 / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of Templates: time 0.00675/0.3685, allocations: 1.824 MB / 0.9597 GB, free: 14.75 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches