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.001463/0.001463, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001629/0.001629, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.351/2.351, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 68.08 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6562, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002514/0.6587, allocations: 1.559 MB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.66, allocations: 0.7443 MB / 0.9513 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.66, allocations: 7.875 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.6601, allocations: 0 / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.6602, allocations: 22.52 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.6607, allocations: 111.4 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.6609, allocations: 81.94 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.661, allocations: 22.58 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.6611, allocations: 30.92 kB / 0.9516 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.6612, allocations: 42.81 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.6612, allocations: 10.91 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.6614, allocations: 98.09 kB / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.6614, allocations: 20.3 kB / 0.9518 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.6615, allocations: 37.8 kB / 0.9518 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.6618, allocations: 142.1 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6618, allocations: 0 / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6618, allocations: 1.156 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6618, allocations: 0 / 0.9519 GB, free: 6.984 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.0006624/0.6625, allocations: 473.1 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.6625, allocations: 9.75 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.6625, allocations: 12.47 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.6626, allocations: 181.4 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.6627, allocations: 2.812 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.6627, allocations: 8.156 kB / 0.9526 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.6629, allocations: 69.53 kB / 0.9527 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6629, allocations: 9.328 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6629, allocations: 4 kB / 0.9527 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6629, allocations: 1.438 kB / 0.9527 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.663, allocations: 42.38 kB / 0.9527 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.6635, allocations: 312.7 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.6637, allocations: 69.55 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.6637, allocations: 36 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.6638, allocations: 4 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.664, allocations: 96.98 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.664, allocations: 0 / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003746/0.6644, allocations: 158.2 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.6644, allocations: 54.44 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.6645, allocations: 131.2 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6645, allocations: 31.05 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.6645, allocations: 90.12 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.6646, allocations: 31.66 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.6646, allocations: 32.36 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.6647, allocations: 329.3 kB / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.6647, allocations: 21.58 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.6648, allocations: 69.05 kB / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.665, allocations: 100.8 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.665, allocations: 0 / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002105/0.6652, allocations: 128.5 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6653, allocations: 4.812 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6653, allocations: 2.5 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6653, allocations: 2.312 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.6654, allocations: 18.02 kB / 0.9544 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.6654, allocations: 2.625 kB / 0.9544 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.6655, allocations: 22.86 kB / 0.9544 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.6655, allocations: 3.469 kB / 0.9544 GB, free: 4.668 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 7.519e-05/0.6656, allocations: 128.9 kB / 0.9545 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.6656, allocations: 8.031 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.6659, allocations: 153.9 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6659, allocations: 1.406 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.666, allocations: 4 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.666, allocations: 1.438 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.6664, allocations: 426.6 kB / 0.9551 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6664, allocations: 0 / 0.9551 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.6665, allocations: 8.188 kB / 0.9551 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.6665, allocations: 3.984 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6665, allocations: 5.156 kB / 0.9551 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6665, allocations: 9.531 kB / 0.9551 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6665, allocations: 3.938 kB / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.6668, allocations: 225.6 kB / 0.9553 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.6668, allocations: 83.95 kB / 0.9554 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.6668, allocations: 3.938 kB / 0.9554 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.667, allocations: 13.73 kB / 0.9554 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.667, allocations: 12.23 kB / 0.9554 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.667, allocations: 12.38 kB / 0.9555 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.6671, allocations: 93.83 kB / 0.9555 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6671, allocations: 3.938 kB / 0.9555 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003116/0.6674, allocations: 47.67 kB / 0.9556 GB, free: 3.621 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.0003284/0.6677, allocations: 164.1 kB / 0.9557 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.668, allocations: 94.83 kB / 0.9558 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.668, allocations: 0 / 0.9558 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.6681, allocations: 44.42 kB / 0.9559 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.6684, allocations: 20.3 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.6689, allocations: 220.5 kB / 0.9561 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.6691, allocations: 0.6966 MB / 0.9568 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.864e-05/0.6691, allocations: 22.36 kB / 0.9568 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.6692, allocations: 12.97 kB / 0.9568 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6692, allocations: 0 / 0.9568 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.00552/0.6747, allocations: 1.733 MB / 0.9585 GB, free: 1.633 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