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.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001145/0.001145, allocations: 187.8 kB / 16.25 MB, free: 6.641 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.526/2.526, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001429, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7994, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002436/0.8019, allocations: 1.565 MB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.803, allocations: 0.7494 MB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.803, allocations: 0 / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.8031, allocations: 7.922 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/0.8032, allocations: 5.375 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.8036, allocations: 111.3 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.8038, allocations: 87.2 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.8039, allocations: 17.34 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.8039, allocations: 42.97 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.804, allocations: 40.2 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.804, allocations: 6.875 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.8042, allocations: 102.5 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.8042, allocations: 22.66 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.8043, allocations: 38.8 kB / 0.9518 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.8045, allocations: 142 kB / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8045, allocations: 0 / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8045, allocations: 0 / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8045, allocations: 1.219 kB / 0.952 GB, free: 6.871 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.0006214/0.8051, allocations: 469.1 kB / 0.9524 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8052, allocations: 8.812 kB / 0.9524 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.8052, allocations: 9 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.8053, allocations: 177 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.8054, allocations: 3.312 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.8054, allocations: 9.25 kB / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.8056, allocations: 80.52 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8056, allocations: 1.25 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.8056, allocations: 4 kB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.8056, allocations: 1.469 kB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.8057, allocations: 37.66 kB / 0.9527 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.8062, allocations: 322.4 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.8063, allocations: 63.38 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.8064, allocations: 40.92 kB / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.8065, allocations: 0 / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.8067, allocations: 96.23 kB / 0.9532 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.8067, allocations: 1.156 kB / 0.9532 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000374/0.8071, allocations: 157.9 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.8071, allocations: 58.27 kB / 0.9534 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.8072, allocations: 128 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.8072, allocations: 27.11 kB / 0.9536 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.8073, allocations: 98.78 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.8073, allocations: 23.28 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.8074, allocations: 31.61 kB / 0.9537 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.8074, allocations: 329.4 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.8075, allocations: 23.45 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.8076, allocations: 68.09 kB / 0.9541 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.8077, allocations: 109.2 kB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8077, allocations: 0 / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002087/0.8079, allocations: 124.2 kB / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.808, allocations: 5.344 kB / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.808, allocations: 1.406 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.808, allocations: 6.156 kB / 0.9544 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.8081, allocations: 19.36 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8081, allocations: 1.094 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.8082, allocations: 14.73 kB / 0.9544 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.8083, allocations: 4.531 kB / 0.9544 GB, free: 4.562 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.921e-05/0.8083, allocations: 132.6 kB / 0.9545 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.8083, allocations: 6.844 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.8086, allocations: 154.6 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8087, allocations: 1.406 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8087, allocations: 0 / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.8087, allocations: 1.188 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.8091, allocations: 419 kB / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8091, allocations: 3.938 kB / 0.9551 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.688e-05/0.8092, allocations: 19.02 kB / 0.9551 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8092, allocations: 5.469 kB / 0.9551 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.8092, allocations: 5.375 kB / 0.9551 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8092, allocations: 1.375 kB / 0.9551 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8092, allocations: 7.922 kB / 0.9551 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.8095, allocations: 215.6 kB / 0.9553 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.8095, allocations: 83.98 kB / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.8095, allocations: 9.766 kB / 0.9554 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.8097, allocations: 8.719 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.8097, allocations: 12.36 kB / 0.9554 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.8097, allocations: 12.17 kB / 0.9554 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.8098, allocations: 98.48 kB / 0.9555 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.32e-07/0.8098, allocations: 0 / 0.9555 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000319/0.8101, allocations: 46.62 kB / 0.9556 GB, free: 3.523 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.0003026/0.8104, allocations: 175.8 kB / 0.9558 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.8107, allocations: 91.52 kB / 0.9558 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8107, allocations: 0 / 0.9558 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.8108, allocations: 47.28 kB / 0.9559 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.8111, allocations: 17.7 kB / 0.9559 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.8115, allocations: 220 kB / 0.9561 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.8117, allocations: 0.6967 MB / 0.9568 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.108e-05/0.8117, allocations: 13.83 kB / 0.9568 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.8118, allocations: 17.7 kB / 0.9568 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8118, allocations: 0 / 0.9568 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.004139/0.8159, allocations: 1.733 MB / 0.9585 GB, free: 1.527 MB / 0.7169 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/jenkins/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