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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009899/0.0009899, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001031/0.001031, allocations: 198 kB / 17.3 MB, free: 5.883 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 69.78 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2952, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002517/0.2978, allocations: 1.499 MB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.299, allocations: 0.7804 MB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.2991, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.2991, allocations: 3.938 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.2992, allocations: 11.88 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.2998, allocations: 131.5 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2999, allocations: 79.81 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.3, allocations: 23.86 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.043e-05/0.3001, allocations: 35.92 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.3002, allocations: 39.81 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3002, allocations: 8 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.3004, allocations: 99.84 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.3004, allocations: 19.92 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.3005, allocations: 27.86 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3007, allocations: 151.6 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3007, allocations: 0 / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.757e-06/0.3007, allocations: 7.938 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3008, allocations: 7.938 kB / 1.022 GB, free: 6.902 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.0007004/0.3015, allocations: 450.7 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3015, allocations: 12.03 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.3015, allocations: 8.844 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3017, allocations: 176.7 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.3017, allocations: 8.359 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3017, allocations: 4.375 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3019, allocations: 81.91 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3019, allocations: 3.938 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.302, allocations: 3.984 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.302, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3021, allocations: 43.97 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.3026, allocations: 320.6 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3028, allocations: 70.58 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.3029, allocations: 32.84 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3029, allocations: 4.141 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.3031, allocations: 91.36 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3032, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004254/0.3036, allocations: 161.5 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3036, allocations: 55.41 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3038, allocations: 131.2 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3038, allocations: 29.7 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.3039, allocations: 92.28 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3039, allocations: 19.8 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.3039, allocations: 33.64 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3041, allocations: 326.8 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.3042, allocations: 27.98 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.744e-05/0.3043, allocations: 68.12 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3044, allocations: 105 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3045, allocations: 4 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002378/0.3047, allocations: 121.4 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3047, allocations: 8.375 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3047, allocations: 3.984 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3048, allocations: 8.125 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3049, allocations: 15.92 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3049, allocations: 7.938 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.305, allocations: 15.84 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3051, allocations: 11.98 kB / 1.024 GB, free: 4.125 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.0001059/0.3052, allocations: 121.8 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3052, allocations: 11.84 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.3055, allocations: 146 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3056, allocations: 0 / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3056, allocations: 4 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3056, allocations: 0 / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.3061, allocations: 434.2 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3062, allocations: 0 / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.3062, allocations: 12.09 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3063, allocations: 3.984 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3063, allocations: 7.984 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3063, allocations: 0 / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3063, allocations: 7.938 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3066, allocations: 227.3 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3067, allocations: 92.94 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3067, allocations: 0 / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3068, allocations: 11.98 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.3069, allocations: 15.92 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3069, allocations: 4 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.307, allocations: 99.27 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.307, allocations: 0 / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003276/0.3073, allocations: 40 kB / 1.025 GB, free: 2.805 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.0004227/0.3077, allocations: 165.3 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.308, allocations: 91.77 kB / 1.025 GB, free: 2.562 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.308, allocations: 0 / 1.025 GB, free: 2.562 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3082, allocations: 43.97 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.3085, allocations: 15.98 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.3089, allocations: 208 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3092, allocations: 0.6962 MB / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.3093, allocations: 8.422 kB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.3093, allocations: 15.44 kB / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3093, allocations: 0 / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of Templates: time 0.004944/0.3143, allocations: 1.796 MB / 1.028 GB, free: 15.74 MB / 0.8106 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=480 -s gbode -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