Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001522/0.001522, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001492/0.001492, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7427 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 65.67 kB / 0.9087 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2738, allocations: 159.1 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002771/0.2766, allocations: 1.578 MB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2779, allocations: 0.7518 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.2779, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.278, allocations: 7.922 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.439e-05/0.2781, allocations: 11.88 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.2786, allocations: 111.8 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2787, allocations: 83.7 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.2788, allocations: 15.98 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.2789, allocations: 35.91 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.279, allocations: 39.84 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.279, allocations: 7.984 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.2792, allocations: 95.86 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.2792, allocations: 19.91 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.2793, allocations: 31.86 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2795, allocations: 116 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2795, allocations: 4 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2795, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2795, allocations: 4 kB / 1.067 GB, free: 11.7 MB / 0.8262 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.0007412/0.2803, allocations: 450.7 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2803, allocations: 12.03 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.2803, allocations: 8.844 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.2805, allocations: 177 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2805, allocations: 4.375 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2806, allocations: 16.3 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2807, allocations: 73.97 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2808, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.2808, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2808, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2809, allocations: 43.91 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.2815, allocations: 332.6 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.2816, allocations: 58.55 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.2817, allocations: 32.84 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2818, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.282, allocations: 95.39 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.282, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004138/0.2824, allocations: 153.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2825, allocations: 55.39 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2826, allocations: 122.7 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2826, allocations: 29.7 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.2827, allocations: 100.3 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.2827, allocations: 19.72 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.2828, allocations: 33.7 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2829, allocations: 326.8 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.283, allocations: 31.92 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.2832, allocations: 70.12 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2834, allocations: 109.4 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2834, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002503/0.2836, allocations: 121.4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2837, allocations: 8 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2837, allocations: 12.06 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2837, allocations: 4 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2838, allocations: 11.98 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2838, allocations: 11.92 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2839, allocations: 15.94 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.284, allocations: 7.984 kB / 1.069 GB, free: 8.914 MB / 0.8262 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.0001073/0.2841, allocations: 123.3 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.2841, allocations: 7.906 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.2844, allocations: 149.9 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2845, allocations: 4 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2845, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2845, allocations: 3.938 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.2851, allocations: 418.5 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2851, allocations: 7.922 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.2852, allocations: 12 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2852, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2852, allocations: 7.984 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2852, allocations: 4 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2852, allocations: 3.938 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.2855, allocations: 219.4 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.2856, allocations: 88.95 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2856, allocations: 11.98 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2858, allocations: 4 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.2858, allocations: 11.92 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.2858, allocations: 15.92 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.2859, allocations: 96.27 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2859, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003126/0.2862, allocations: 40 kB / 1.071 GB, free: 7.605 MB / 0.8262 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.0003742/0.2866, allocations: 168.7 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.2869, allocations: 87.83 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2869, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.287, allocations: 51.91 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.2873, allocations: 26.06 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.2878, allocations: 253.4 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2881, allocations: 0.7039 MB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.2882, allocations: 15.44 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2882, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of Templates: time 0.003817/0.292, allocations: 1.822 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches