Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001563/0.001563, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001503/0.001503, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 62.36 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.287, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003067/0.2901, allocations: 1.577 MB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2914, allocations: 0.7518 MB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.2915, allocations: 0 / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.2916, allocations: 7.922 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.2917, allocations: 11.92 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.2922, allocations: 103.8 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.2924, allocations: 87.7 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.2925, allocations: 16 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.2927, allocations: 39.83 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.2928, allocations: 35.84 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.2928, allocations: 8 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.293, allocations: 95.91 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.293, allocations: 23.84 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.2931, allocations: 39.84 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.2933, allocations: 104 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2933, allocations: 0 / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2933, allocations: 0 / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2933, allocations: 4 kB / 1.02 GB, free: 8.098 MB / 0.795 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.0008329/0.2942, allocations: 458.6 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2942, allocations: 15.97 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.2943, allocations: 8.844 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2944, allocations: 176.2 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2945, allocations: 384 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.2945, allocations: 8.359 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2947, allocations: 81.91 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2947, allocations: 0 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.2947, allocations: 4 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2947, allocations: 4 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2949, allocations: 39.97 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.2955, allocations: 328.6 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2957, allocations: 66.58 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.2958, allocations: 33 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2958, allocations: 3.984 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.296, allocations: 87.36 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.296, allocations: 4 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004524/0.2965, allocations: 157.5 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.2966, allocations: 63.33 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.2967, allocations: 121.8 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2967, allocations: 33.69 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.2968, allocations: 92.28 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.2968, allocations: 15.81 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.2969, allocations: 30.08 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2971, allocations: 330.8 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.2972, allocations: 27.98 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2973, allocations: 66.75 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.2975, allocations: 105 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.2975, allocations: 0 / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000252/0.2978, allocations: 133.4 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2978, allocations: 4 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2978, allocations: 8.125 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2978, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2979, allocations: 19.92 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.2979, allocations: 7.984 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2981, allocations: 15.84 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2981, allocations: 7.984 kB / 1.023 GB, free: 5.316 MB / 0.795 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.0001135/0.2982, allocations: 128 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2982, allocations: 7.906 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.2986, allocations: 146 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2986, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2986, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2986, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.2992, allocations: 438.2 kB / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2992, allocations: 0 / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.2993, allocations: 12 kB / 1.023 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2993, allocations: 0 / 1.023 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.2993, allocations: 3.984 kB / 1.023 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2993, allocations: 0 / 1.023 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2993, allocations: 3.938 kB / 1.023 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.2997, allocations: 231.3 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.2997, allocations: 84.95 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.2998, allocations: 11.98 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2999, allocations: 12 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.2999, allocations: 11.92 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3, allocations: 7.984 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.3, allocations: 99.27 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003176/0.3004, allocations: 40 kB / 1.024 GB, free: 3.996 MB / 0.795 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.0003631/0.3007, allocations: 170.3 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.301, allocations: 95.77 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.301, allocations: 0 / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.3012, allocations: 51.91 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3015, allocations: 20.23 kB / 1.024 GB, free: 3.676 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.302, allocations: 241.5 kB / 1.024 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3023, allocations: 0.7001 MB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.3024, allocations: 15.44 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.3024, allocations: 4 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of Templates: time 0.004151/0.3065, allocations: 1.826 MB / 1.027 GB, free: 0.8438 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches