Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001564/0.001564, allocations: 100.1 kB / 15.88 MB, free: 8 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.001909/0.001909, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001249, allocations: 61.97 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003156/0.2811, allocations: 1.576 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2827, allocations: 0.7633 MB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.2828, allocations: 3.938 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.2828, allocations: 4 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.283, allocations: 15.84 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.2835, allocations: 107.8 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.2837, allocations: 71.78 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.2838, allocations: 11.98 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.2839, allocations: 39.84 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.284, allocations: 35.83 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.284, allocations: 4 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.2842, allocations: 95.84 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.2842, allocations: 19.97 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.2843, allocations: 31.8 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.2845, allocations: 108 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2845, allocations: 0 / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2845, allocations: 0 / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.2845, allocations: 0 / 1.056 GB, free: 5.41 MB / 0.8106 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.0007818/0.2853, allocations: 458.6 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2854, allocations: 8.031 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.2854, allocations: 16.78 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.2856, allocations: 180.2 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2856, allocations: 4.375 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.2856, allocations: 8.375 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.2858, allocations: 73.95 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.2858, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2859, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2859, allocations: 4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.286, allocations: 39.91 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.2866, allocations: 324.6 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2868, allocations: 62.55 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.2869, allocations: 40.88 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.2869, allocations: 8.141 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.2871, allocations: 87.36 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.2871, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003983/0.2876, allocations: 157.5 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.2876, allocations: 55.41 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2877, allocations: 129.8 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2878, allocations: 33.7 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.2878, allocations: 96.28 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2879, allocations: 15.8 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.2879, allocations: 33.7 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2881, allocations: 327.1 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.2881, allocations: 19.98 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.2883, allocations: 73.08 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2884, allocations: 101 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2884, allocations: 3.938 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002449/0.2887, allocations: 133.4 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2887, allocations: 4 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2887, allocations: 4 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2888, allocations: 0 / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2889, allocations: 27.86 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2889, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.289, allocations: 19.83 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.289, allocations: 8.125 kB / 1.058 GB, free: 2.625 MB / 0.8106 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.000162/0.2892, allocations: 127.2 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.2892, allocations: 7.906 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.2895, allocations: 145.9 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2896, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2896, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2896, allocations: 3.984 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.2901, allocations: 434.3 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2901, allocations: 0 / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.2902, allocations: 11.98 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2902, allocations: 4 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2902, allocations: 4 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2903, allocations: 4 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2903, allocations: 3.938 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2905, allocations: 231.3 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.2906, allocations: 88.95 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2906, allocations: 4 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.2908, allocations: 11.98 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.2908, allocations: 11.92 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.2908, allocations: 8 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.2909, allocations: 98.27 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2909, allocations: 4 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003229/0.2912, allocations: 43.98 kB / 1.059 GB, free: 1.301 MB / 0.8106 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.0003304/0.2916, allocations: 158.1 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.2918, allocations: 91.83 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2919, allocations: 0 / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.292, allocations: 47.92 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2923, allocations: 15.98 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.2928, allocations: 243.4 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.2931, allocations: 0.6965 MB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.2932, allocations: 19.42 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.2932, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.004119/0.2973, allocations: 1.816 MB / 1.062 GB, free: 14.17 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches