Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Love1998Light1,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.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_latest_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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 193.8 kB / 16.14 MB, free: 6.711 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 66.67 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3736, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002756/0.3764, allocations: 1.564 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3779, allocations: 0.7749 MB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3779, allocations: 0 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.378, allocations: 7.922 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.3781, allocations: 11.92 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.3786, allocations: 103.8 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3787, allocations: 83.7 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.3788, allocations: 8 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.3789, allocations: 35.84 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.379, allocations: 39.83 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.379, allocations: 8 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.3792, allocations: 91.84 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.3793, allocations: 19.92 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.3793, allocations: 31.84 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3796, allocations: 139.9 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3796, allocations: 3.938 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3796, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3796, allocations: 0 / 1.055 GB, free: 5.918 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.000767/0.3804, allocations: 462.7 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3804, allocations: 12.03 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.3805, allocations: 8.844 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3806, allocations: 176.2 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3806, allocations: 8.312 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3806, allocations: 8.359 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3809, allocations: 77.95 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3809, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3809, allocations: 4 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3809, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.381, allocations: 47.91 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.3816, allocations: 328.6 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3818, allocations: 62.55 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.3818, allocations: 37 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3819, allocations: 3.984 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.3822, allocations: 91.39 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3822, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004518/0.3827, allocations: 161.5 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3827, allocations: 51.41 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3828, allocations: 135.7 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3829, allocations: 25.7 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3829, allocations: 96.28 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.383, allocations: 19.8 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.383, allocations: 29.7 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3832, allocations: 326.8 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.3832, allocations: 27.98 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3833, allocations: 65.08 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3835, allocations: 105 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3835, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002435/0.3838, allocations: 133.4 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3838, allocations: 4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3838, allocations: 4 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3838, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.384, allocations: 15.98 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.384, allocations: 7.984 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.3841, allocations: 19.95 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3841, allocations: 8 kB / 1.057 GB, free: 3.133 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.0001064/0.3842, allocations: 128.6 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.3843, allocations: 8.281 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.3846, allocations: 142.1 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3846, allocations: 7.922 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3846, allocations: 4 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3846, allocations: 7.922 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.3852, allocations: 430.3 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3852, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.3853, allocations: 15.92 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3853, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3853, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3853, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3854, allocations: 7.938 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3857, allocations: 231.3 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3857, allocations: 84.95 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3857, allocations: 4 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3859, allocations: 7.984 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3859, allocations: 15.92 kB / 1.058 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.386, allocations: 12 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.386, allocations: 98.52 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.386, allocations: 0 / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000337/0.3864, allocations: 47.98 kB / 1.059 GB, free: 1.805 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.0003409/0.3867, allocations: 155.3 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.387, allocations: 87.83 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.387, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3871, allocations: 47.92 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3874, allocations: 19.92 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.3879, allocations: 221.7 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3881, allocations: 0.6965 MB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.275e-05/0.3882, allocations: 20.41 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.3882, allocations: 11.44 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3882, allocations: 0 / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of Templates: time 0.004491/0.3927, allocations: 1.676 MB / 1.061 GB, free: 14.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches