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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001237/0.001237, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001418/0.001418, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 65.14 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7353, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002554/0.7379, allocations: 1.508 MB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.7391, allocations: 0.7547 MB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.7391, allocations: 1.094 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.7392, allocations: 9.188 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.7393, allocations: 19.41 kB / 1.085 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.7397, allocations: 125.9 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.7399, allocations: 81.89 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.74, allocations: 15.31 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.7401, allocations: 49.17 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.7402, allocations: 37.2 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.7402, allocations: 10.06 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.7404, allocations: 95.12 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.7405, allocations: 16.06 kB / 1.086 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.7405, allocations: 41.41 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.7408, allocations: 143.3 kB / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7408, allocations: 0 / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7408, allocations: 1 kB / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7408, allocations: 0 / 1.086 GB, free: 15.8 MB / 0.8419 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.0007752/0.7416, allocations: 467.6 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.7416, allocations: 10.34 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.7417, allocations: 9.031 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.7418, allocations: 182.8 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7419, allocations: 7.828 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.7419, allocations: 8.547 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.7421, allocations: 72.42 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.7421, allocations: 1.188 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.7421, allocations: 0 / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7422, allocations: 5.312 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.7423, allocations: 50.61 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.7429, allocations: 314.7 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.743, allocations: 62.97 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.7431, allocations: 38.33 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.7432, allocations: 0 / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.7434, allocations: 96.28 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.7434, allocations: 0.5625 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004108/0.7438, allocations: 157.8 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.7439, allocations: 59.05 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.744, allocations: 125.9 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.744, allocations: 30.8 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.7441, allocations: 89.16 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.7441, allocations: 26.06 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.7442, allocations: 35.7 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7443, allocations: 324.1 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.7444, allocations: 24.44 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.7445, allocations: 72.97 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.7447, allocations: 104 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7448, allocations: 0 / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002454/0.745, allocations: 126.7 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.745, allocations: 10.11 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.745, allocations: 0.875 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.7451, allocations: 2.625 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.7452, allocations: 15.91 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.7452, allocations: 8.906 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.7453, allocations: 18.28 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.7453, allocations: 4.578 kB / 1.088 GB, free: 13.67 MB / 0.8419 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.000113/0.7454, allocations: 125.4 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.7455, allocations: 7.906 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.7458, allocations: 150.6 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.7458, allocations: 5.094 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7458, allocations: 1.156 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7458, allocations: 0.8906 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.7465, allocations: 424.2 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.7465, allocations: 5.094 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.7465, allocations: 10.23 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7466, allocations: 0 / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.7466, allocations: 11.56 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7466, allocations: 4 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7466, allocations: 5.656 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.7469, allocations: 226.1 kB / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.747, allocations: 85.33 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.747, allocations: 1.609 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.7471, allocations: 12.69 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.7472, allocations: 15.72 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.7472, allocations: 9.906 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.87e-05/0.7473, allocations: 98.56 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7473, allocations: 0 / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003211/0.7476, allocations: 42.08 kB / 1.089 GB, free: 12.73 MB / 0.8419 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.0003818/0.748, allocations: 165 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.7483, allocations: 86.42 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7483, allocations: 3.938 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.7484, allocations: 50.81 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.7487, allocations: 13.67 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.7492, allocations: 232.4 kB / 1.09 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.7495, allocations: 0.7012 MB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.7496, allocations: 16.48 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7496, allocations: 4 kB / 1.091 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.004198/0.7538, allocations: 1.828 MB / 1.092 GB, free: 11.48 MB / 0.8419 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=400 -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/jenkins1/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