Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,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.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,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.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001285/0.001285, allocations: 195 kB / 16.14 MB, free: 6.711 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.35/2.35, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 64.09 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6378, allocations: 140.3 MB / 0.9489 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002135/0.64, allocations: 1.572 MB / 0.9504 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.6409, allocations: 0.7599 MB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.6409, allocations: 4 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.641, allocations: 7.922 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.641, allocations: 10.67 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.6414, allocations: 108.6 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.6415, allocations: 77.64 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.6416, allocations: 10.73 kB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.6417, allocations: 47.28 kB / 0.9514 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.6418, allocations: 38.36 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.6418, allocations: 3.875 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.642, allocations: 86.72 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.6421, allocations: 19.17 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.6422, allocations: 42.47 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.6424, allocations: 132.8 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6424, allocations: 0 / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6424, allocations: 1.25 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6424, allocations: 0 / 0.9517 GB, free: 7.422 MB / 0.7169 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.0007539/0.6432, allocations: 471.1 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6433, allocations: 8.406 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.6433, allocations: 9.344 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.6434, allocations: 180.8 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.6435, allocations: 6.75 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.6435, allocations: 3.812 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.6437, allocations: 86.64 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6437, allocations: 4 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6437, allocations: 0 / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6437, allocations: 1.406 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.6439, allocations: 42.62 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.6444, allocations: 313.2 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.6446, allocations: 72.47 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.6447, allocations: 32.34 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.6447, allocations: 1.281 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.6449, allocations: 95.27 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.6449, allocations: 0 / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003789/0.6453, allocations: 162.9 kB / 0.9532 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.6454, allocations: 53.97 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.6454, allocations: 128.5 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.6455, allocations: 30.95 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.6455, allocations: 90.44 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.6455, allocations: 28.14 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.6456, allocations: 30.89 kB / 0.9535 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.6456, allocations: 325.2 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.6457, allocations: 30.8 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.6458, allocations: 60.39 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.646, allocations: 105.1 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.646, allocations: 1.125 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002202/0.6462, allocations: 135.6 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6462, allocations: 5.406 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6462, allocations: 1.156 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6463, allocations: 2.938 kB / 0.9542 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.6464, allocations: 17.89 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6464, allocations: 2.375 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.6465, allocations: 14.86 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6465, allocations: 8.406 kB / 0.9542 GB, free: 5.109 MB / 0.7169 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.481e-05/0.6466, allocations: 123.5 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.6466, allocations: 8.219 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.6469, allocations: 149.7 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6469, allocations: 2.156 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6469, allocations: 0 / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6469, allocations: 0 / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.6474, allocations: 438.6 kB / 0.9549 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6474, allocations: 1.281 kB / 0.9549 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.6475, allocations: 15.58 kB / 0.9549 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6475, allocations: 5.125 kB / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.6475, allocations: 1.188 kB / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6475, allocations: 0 / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6475, allocations: 5.094 kB / 0.9549 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.6478, allocations: 223.8 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.6478, allocations: 83.83 kB / 0.9552 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.6478, allocations: 1.406 kB / 0.9552 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.648, allocations: 17.23 kB / 0.9552 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.648, allocations: 16.48 kB / 0.9552 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.648, allocations: 3.469 kB / 0.9552 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.6481, allocations: 100.9 kB / 0.9553 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6481, allocations: 0 / 0.9553 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003224/0.6484, allocations: 50.33 kB / 0.9554 GB, free: 4.066 MB / 0.7169 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.0003039/0.6487, allocations: 175.1 kB / 0.9556 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.649, allocations: 86.05 kB / 0.9556 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.649, allocations: 0 / 0.9556 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.6491, allocations: 44.64 kB / 0.9557 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.6494, allocations: 15.11 kB / 0.9557 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.6498, allocations: 221.9 kB / 0.9559 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.6499, allocations: 0.6921 MB / 0.9566 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.166e-05/0.65, allocations: 14.42 kB / 0.9566 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.65, allocations: 13.5 kB / 0.9566 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.65, allocations: 0 / 0.9566 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.00397/0.654, allocations: 1.68 MB / 0.9582 GB, free: 2.117 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches