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.001311/0.001311, allocations: 110.5 kB / 16.41 MB, free: 6.008 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.00115/0.00115, allocations: 183.3 kB / 17.34 MB, free: 5.629 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.19 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.515/2.515, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8364/0.8377, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00314/0.8409, allocations: 1.506 MB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.8424, allocations: 0.7518 MB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.8425, allocations: 0 / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.8426, allocations: 3.938 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.8427, allocations: 27.8 kB / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.8433, allocations: 119.6 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.8435, allocations: 87.75 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.8436, allocations: 11.98 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.8437, allocations: 43.8 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.8438, allocations: 39.88 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.8439, allocations: 15.88 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.8441, allocations: 99.84 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.8441, allocations: 11.98 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.8442, allocations: 39.8 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.8444, allocations: 143.5 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8445, allocations: 0 / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8445, allocations: 0 / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.8445, allocations: 0 / 1.17 GB, free: 0.9648 MB / 0.8887 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.0008049/0.8453, allocations: 468.4 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.8453, allocations: 8.031 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.8454, allocations: 12.88 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.8456, allocations: 189.3 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.8456, allocations: 384 / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.8457, allocations: 8.375 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.8459, allocations: 73.97 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8459, allocations: 0 / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.8459, allocations: 4 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.8459, allocations: 3.984 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.8461, allocations: 43.97 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.8467, allocations: 320.7 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.8469, allocations: 58.55 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.847, allocations: 36.84 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.847, allocations: 4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.8472, allocations: 91.55 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.8473, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000399/0.8477, allocations: 165.7 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.8477, allocations: 55.39 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.8478, allocations: 135.1 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.8479, allocations: 29.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.8479, allocations: 92.38 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.848, allocations: 27.64 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.848, allocations: 29.7 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8481, allocations: 322.8 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.8482, allocations: 27.97 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.8483, allocations: 65.14 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.8485, allocations: 105 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8485, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002457/0.8488, allocations: 129.4 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.8488, allocations: 10.48 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.8488, allocations: 4 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8488, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.849, allocations: 19.98 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.849, allocations: 7.938 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.8491, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.8491, allocations: 12.11 kB / 1.173 GB, free: 14.18 MB / 0.9044 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.0001625/0.8493, allocations: 125.8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.8493, allocations: 11.84 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.8496, allocations: 149.9 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8496, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8496, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8497, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.8502, allocations: 434.3 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8502, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.8503, allocations: 15.94 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8503, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.8503, allocations: 3.984 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8503, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8504, allocations: 3.938 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.8506, allocations: 223.4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.8507, allocations: 85 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.8507, allocations: 8 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.8509, allocations: 15.92 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.8509, allocations: 15.92 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.8509, allocations: 4 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.851, allocations: 100.6 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.851, allocations: 0 / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003298/0.8514, allocations: 44 kB / 1.174 GB, free: 12.86 MB / 0.9044 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.0003703/0.8518, allocations: 176.2 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.852, allocations: 80.25 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.852, allocations: 4.062 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.8522, allocations: 55.91 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.8525, allocations: 11.98 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.853, allocations: 237.2 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.8533, allocations: 0.6963 MB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.8533, allocations: 15.42 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8533, allocations: 4 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of Templates: time 0.004143/0.8575, allocations: 1.825 MB / 1.177 GB, free: 9.719 MB / 0.9044 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 -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