Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Love1998Light2,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.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_11_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.00178/0.00178, allocations: 113.3 kB / 15.99 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.001826/0.001826, allocations: 193.7 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 4.527 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.824/2.824, allocations: 469.8 MB / 0.7427 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 70.78 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2751, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002901/0.278, allocations: 1.573 MB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2794, allocations: 0.744 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.2795, allocations: 4 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.2795, allocations: 3.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.2796, allocations: 15.84 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.2802, allocations: 115.8 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2803, allocations: 83.77 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.2804, allocations: 7.938 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.2805, allocations: 39.91 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.2806, allocations: 39.83 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2806, allocations: 8 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2808, allocations: 99.78 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.2808, allocations: 23.91 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.2809, allocations: 35.86 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2811, allocations: 108 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2811, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.617e-06/0.2811, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2811, allocations: 3.938 kB / 1.067 GB, free: 11.68 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.0007668/0.2819, allocations: 454.7 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.282, allocations: 16.02 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.282, allocations: 8.844 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2822, allocations: 172.2 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.2822, allocations: 4.375 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.2822, allocations: 12.31 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2824, allocations: 73.95 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2824, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2824, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2824, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2826, allocations: 43.97 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.2831, allocations: 328.5 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2833, allocations: 54.56 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.2834, allocations: 36.84 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2834, allocations: 8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.2837, allocations: 99.52 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2837, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004094/0.2841, allocations: 153.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.2842, allocations: 55.5 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2843, allocations: 131.5 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.2843, allocations: 33.7 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.2844, allocations: 96.27 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2844, allocations: 19.72 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.2845, allocations: 33.7 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2847, allocations: 322.8 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/0.2847, allocations: 27.98 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2849, allocations: 73.12 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.2851, allocations: 101 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2851, allocations: 7.938 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002555/0.2853, allocations: 129.4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2854, allocations: 4 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2854, allocations: 0 / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2854, allocations: 4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2855, allocations: 19.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2855, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2856, allocations: 16.05 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2857, allocations: 8 kB / 1.069 GB, free: 8.902 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.0001157/0.2858, allocations: 129.7 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.2858, allocations: 7.906 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.2861, allocations: 145.9 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2861, allocations: 4 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2862, allocations: 3.938 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2862, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.2868, allocations: 426.3 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.2868, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.2869, allocations: 15.92 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2869, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.2869, allocations: 8 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2869, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2869, allocations: 3.938 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.2872, allocations: 227.3 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.2873, allocations: 88.95 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.2873, allocations: 4 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2875, allocations: 7.984 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.2875, allocations: 15.92 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2875, allocations: 8 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.68e-05/0.2876, allocations: 100 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2876, allocations: 4 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003117/0.2879, allocations: 36 kB / 1.071 GB, free: 7.582 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.0003498/0.2883, allocations: 169.1 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.2886, allocations: 95.83 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2886, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.2887, allocations: 47.91 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.289, allocations: 14.41 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.2895, allocations: 264.1 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2898, allocations: 0.6961 MB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.2899, allocations: 15.44 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.2899, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.003967/0.2939, allocations: 1.829 MB / 1.074 GB, free: 4.414 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches