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.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.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.001319/0.001319, allocations: 112.6 kB / 16.37 MB, free: 6 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.001429/0.001429, allocations: 196 kB / 17.31 MB, free: 5.613 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 61.05 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2804, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002643/0.2831, allocations: 1.511 MB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2844, allocations: 0.7595 MB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.2844, allocations: 3.938 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.2845, allocations: 7.922 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.2846, allocations: 11.86 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2851, allocations: 131.5 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.2853, allocations: 83.83 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.2854, allocations: 19.88 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.2855, allocations: 39.89 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.2855, allocations: 35.84 kB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2856, allocations: 8 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.2857, allocations: 95.84 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.2858, allocations: 27.89 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.2858, allocations: 31.86 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.2861, allocations: 143.6 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2861, allocations: 0 / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.368e-06/0.2861, allocations: 7.938 kB / 0.954 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2861, allocations: 3.938 kB / 0.954 GB, free: 5.129 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.0007899/0.2869, allocations: 458.6 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2869, allocations: 8.031 kB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.287, allocations: 16.84 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2871, allocations: 176 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2872, allocations: 4.375 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.2872, allocations: 8.375 kB / 0.9546 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2874, allocations: 77.95 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2874, allocations: 3.938 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2874, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2874, allocations: 4 kB / 0.9547 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2875, allocations: 39.97 kB / 0.9547 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.2881, allocations: 328.6 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.2883, allocations: 66.59 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.2884, allocations: 36.83 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2884, allocations: 0 / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.2886, allocations: 95.3 kB / 0.9552 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.2886, allocations: 4 kB / 0.9552 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003795/0.289, allocations: 153.5 kB / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.2891, allocations: 59.39 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.2892, allocations: 117.8 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2892, allocations: 33.7 kB / 0.9556 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.2892, allocations: 88.36 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.2893, allocations: 23.86 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.2893, allocations: 37.64 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2895, allocations: 326.8 kB / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.2896, allocations: 27.98 kB / 0.9561 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2897, allocations: 69.12 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2899, allocations: 109 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2899, allocations: 0 / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002314/0.2901, allocations: 125.4 kB / 0.9563 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2901, allocations: 4 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2901, allocations: 8.125 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2902, allocations: 0 / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2903, allocations: 19.92 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2903, allocations: 0 / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2904, allocations: 23.83 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2904, allocations: 4 kB / 0.9564 GB, free: 2.352 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.0001669/0.2906, allocations: 135.7 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.2906, allocations: 11.84 kB / 0.9565 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.2909, allocations: 149.9 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.291, allocations: 0 / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.291, allocations: 0 / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.291, allocations: 0 / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.2915, allocations: 422.2 kB / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2915, allocations: 0 / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.2916, allocations: 11.98 kB / 0.9571 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2916, allocations: 4 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2916, allocations: 8 kB / 0.9571 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2916, allocations: 4.359 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.2917, allocations: 7.938 kB / 0.9571 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.292, allocations: 223.3 kB / 0.9573 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.292, allocations: 88.95 kB / 0.9574 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2921, allocations: 7.922 kB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2922, allocations: 16 kB / 0.9574 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.2922, allocations: 11.92 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.2923, allocations: 7.984 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.2923, allocations: 103.3 kB / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2923, allocations: 0 / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003191/0.2927, allocations: 40 kB / 0.9576 GB, free: 1.016 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.0003933/0.2931, allocations: 162.7 kB / 0.9578 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2933, allocations: 87.77 kB / 0.9578 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2933, allocations: 0 / 0.9578 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.2934, allocations: 47.97 kB / 0.9579 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2937, allocations: 12.25 kB / 0.9579 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.2942, allocations: 211.5 kB / 0.9581 GB, free: 492 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.2945, allocations: 0.6924 MB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.2946, allocations: 8.438 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.2946, allocations: 15.42 kB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.2946, allocations: 4 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.004606/0.2992, allocations: 1.798 MB / 0.9606 GB, free: 13.95 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 -s cvode -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