Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Love1998Light2,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.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_latest_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.00136/0.00136, allocations: 108 kB / 16.41 MB, free: 6.031 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.001398/0.001398, allocations: 183.5 kB / 17.34 MB, free: 5.633 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8006, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002525/0.8032, allocations: 1.511 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.8045, allocations: 0.7517 MB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.8045, allocations: 3.938 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.8046, allocations: 3.938 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.694e-05/0.8047, allocations: 27.78 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.8052, allocations: 127.6 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.8054, allocations: 75.83 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.8055, allocations: 15.98 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.8056, allocations: 43.78 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.8057, allocations: 43.83 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.8057, allocations: 4 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.8059, allocations: 99.84 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.8059, allocations: 15.98 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.806, allocations: 35.78 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.8063, allocations: 147.5 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8063, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8063, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.8063, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 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.0007141/0.807, allocations: 472.3 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.8071, allocations: 12.03 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.8071, allocations: 4.938 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8072, allocations: 180.1 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.8073, allocations: 4.375 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.8073, allocations: 8.375 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.8075, allocations: 69.97 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8075, allocations: 3.938 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.8075, allocations: 7.969 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8075, allocations: 4 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.8077, allocations: 43.97 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.8082, allocations: 312.8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.8084, allocations: 66.58 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.8084, allocations: 36.84 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.8085, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.8087, allocations: 95.36 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.8087, allocations: 0 / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0003924/0.8091, allocations: 161.4 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.8092, allocations: 51.41 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.8093, allocations: 133.7 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.8093, allocations: 29.7 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.8094, allocations: 88.38 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.8094, allocations: 27.64 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.8095, allocations: 37.7 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8096, allocations: 322.7 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.8096, allocations: 27.97 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.8098, allocations: 76.14 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.8099, allocations: 101.1 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8099, allocations: 0 / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002478/0.8102, allocations: 125.4 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8102, allocations: 10.34 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8102, allocations: 3.938 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8103, allocations: 4 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.8104, allocations: 15.92 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8104, allocations: 4 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.8105, allocations: 20.11 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.8105, allocations: 4 kB / 1.214 GB, free: 7.926 MB / 0.9356 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 9.805e-05/0.8106, allocations: 121.8 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.8107, allocations: 7.906 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.811, allocations: 149.9 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.811, allocations: 4 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.811, allocations: 0 / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.811, allocations: 4 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/0.8116, allocations: 434.4 kB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8116, allocations: 0 / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.8117, allocations: 11.98 kB / 1.214 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8117, allocations: 4 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.8117, allocations: 7.984 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8117, allocations: 4 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8117, allocations: 3.938 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.812, allocations: 231.7 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.8121, allocations: 85.02 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.8121, allocations: 0 / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.8122, allocations: 11.98 kB / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.8123, allocations: 15.86 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.8123, allocations: 4 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.8124, allocations: 103.3 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8124, allocations: 0 / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003172/0.8127, allocations: 43.98 kB / 1.215 GB, free: 6.594 MB / 0.9356 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.0003463/0.813, allocations: 163.1 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.8133, allocations: 91.83 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8133, allocations: 3.938 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.8134, allocations: 43.98 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.8137, allocations: 17.52 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.8142, allocations: 233.2 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.8144, allocations: 0.6965 MB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.8145, allocations: 19.42 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.8145, allocations: 0 / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of Templates: time 0.00383/0.8183, allocations: 1.831 MB / 1.218 GB, free: 3.461 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches