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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009872/0.0009872, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6683, allocations: 142.4 MB / 0.9557 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00142/0.6698, allocations: 1.227 MB / 0.9569 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.6708, allocations: 0.7506 MB / 0.9576 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.6709, allocations: 0.9062 kB / 0.9576 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.6709, allocations: 0 / 0.9576 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.671, allocations: 18 kB / 0.9576 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.6714, allocations: 104.9 kB / 0.9577 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.6715, allocations: 82.44 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.6716, allocations: 13.88 kB / 0.9578 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.6717, allocations: 38.38 kB / 0.9579 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.6718, allocations: 35.83 kB / 0.9579 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.6718, allocations: 2.469 kB / 0.9579 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.672, allocations: 89.69 kB / 0.958 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.672, allocations: 19.66 kB / 0.958 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.672, allocations: 64.31 kB / 0.9581 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.6722, allocations: 96.84 kB / 0.9582 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6722, allocations: 0 / 0.9582 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6722, allocations: 0 / 0.9582 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.6722, allocations: 0 / 0.9582 GB, free: 5.922 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.0005502/0.6728, allocations: 457.8 kB / 0.9586 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.6728, allocations: 12.12 kB / 0.9586 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.6728, allocations: 9.438 kB / 0.9586 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.968e-05/0.6729, allocations: 179.8 kB / 0.9588 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.673, allocations: 7.281 kB / 0.9588 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.673, allocations: 3.812 kB / 0.9588 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.6732, allocations: 76.06 kB / 0.9589 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6732, allocations: 3.938 kB / 0.9589 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.6732, allocations: 1.281 kB / 0.9589 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.6732, allocations: 5.031 kB / 0.9589 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.6733, allocations: 53.05 kB / 0.9589 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.6738, allocations: 317.8 kB / 0.9592 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.674, allocations: 77.7 kB / 0.9593 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.674, allocations: 34.47 kB / 0.9594 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.6741, allocations: 5.203 kB / 0.9594 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.6743, allocations: 93.95 kB / 0.9594 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.582e-06/0.6743, allocations: 0 / 0.9594 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003761/0.6747, allocations: 168.4 kB / 0.9596 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.6747, allocations: 52.88 kB / 0.9597 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.6748, allocations: 129.9 kB / 0.9598 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.6748, allocations: 29.7 kB / 0.9598 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.6748, allocations: 91.94 kB / 0.9599 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.6749, allocations: 27.8 kB / 0.9599 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.6749, allocations: 21.5 kB / 0.9599 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.6749, allocations: 328.5 kB / 0.9603 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.675, allocations: 29.39 kB / 0.9603 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.6751, allocations: 66.38 kB / 0.9603 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.6753, allocations: 100.1 kB / 0.9604 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6753, allocations: 1.375 kB / 0.9604 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002296/0.6755, allocations: 139.3 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6755, allocations: 5.5 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6755, allocations: 1.375 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6756, allocations: 6.734 kB / 0.9606 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.6757, allocations: 18.92 kB / 0.9606 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6757, allocations: 2.75 kB / 0.9606 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.6758, allocations: 20.36 kB / 0.9606 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6758, allocations: 5.5 kB / 0.9606 GB, free: 3.617 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.897e-05/0.6759, allocations: 120.3 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.6759, allocations: 12.02 kB / 0.9608 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.6762, allocations: 161 kB / 0.9609 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6762, allocations: 6.75 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6762, allocations: 0 / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6762, allocations: 0 / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.6767, allocations: 434.8 kB / 0.9613 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6767, allocations: 3.938 kB / 0.9613 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.6768, allocations: 17.61 kB / 0.9614 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.6768, allocations: 0 / 0.9614 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.6768, allocations: 5.312 kB / 0.9614 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6768, allocations: 1.375 kB / 0.9614 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6768, allocations: 3.938 kB / 0.9614 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.6771, allocations: 236 kB / 0.9616 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.6771, allocations: 83.77 kB / 0.9617 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.6771, allocations: 1.375 kB / 0.9617 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6772, allocations: 12.23 kB / 0.9617 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.6773, allocations: 17.42 kB / 0.9617 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.6773, allocations: 2.75 kB / 0.9617 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.6773, allocations: 101.5 kB / 0.9618 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.72e-07/0.6774, allocations: 0 / 0.9618 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003121/0.6777, allocations: 46.66 kB / 0.9618 GB, free: 2.574 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.0002899/0.678, allocations: 164 kB / 0.962 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.6782, allocations: 89.89 kB / 0.9621 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6782, allocations: 8 kB / 0.9621 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.6783, allocations: 43.11 kB / 0.9621 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.6786, allocations: 14.52 kB / 0.9621 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.679, allocations: 273.5 kB / 0.9624 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.622e-05/0.6791, allocations: 0.7005 MB / 0.9631 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.6791, allocations: 13.47 kB / 0.9631 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6792, allocations: 0 / 0.9631 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of Templates: time 0.003253/0.6824, allocations: 1.811 MB / 0.9649 GB, free: 0.5078 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/jenkins1/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