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.001452/0.001452, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 64.19 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3346, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002492/0.3371, allocations: 1.507 MB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3384, allocations: 0.7595 MB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.3384, allocations: 4 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.3385, allocations: 3.938 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.3386, allocations: 23.78 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.3391, allocations: 127.6 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3392, allocations: 79.72 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.3393, allocations: 19.97 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.3394, allocations: 39.84 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.3395, allocations: 39.84 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3395, allocations: 8 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.3397, allocations: 91.91 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.3397, allocations: 23.89 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.3398, allocations: 39.8 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.34, allocations: 139.9 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.34, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.34, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.34, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 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.00067/0.3407, allocations: 470.5 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.3407, allocations: 11.97 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.3408, allocations: 4.938 kB / 1.072 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3409, allocations: 184.1 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3409, allocations: 4.375 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.341, allocations: 8.359 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3411, allocations: 77.91 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.3412, allocations: 4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3412, allocations: 0 / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3412, allocations: 4 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3413, allocations: 39.97 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3418, allocations: 324.6 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.342, allocations: 70.55 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/0.3421, allocations: 32.84 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3421, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.3423, allocations: 91.39 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3423, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003704/0.3427, allocations: 157.5 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3427, allocations: 59.39 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.3428, allocations: 133.2 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3429, allocations: 33.69 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.3429, allocations: 88.38 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.343, allocations: 23.86 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.343, allocations: 30.08 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.3431, allocations: 326.8 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.3432, allocations: 27.98 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.3433, allocations: 65.12 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3435, allocations: 105 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3435, allocations: 3.938 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002256/0.3437, allocations: 129.4 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3437, allocations: 4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3437, allocations: 7.938 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3438, allocations: 128 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3439, allocations: 19.98 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.3439, allocations: 3.984 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.344, allocations: 11.94 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.344, allocations: 11.98 kB / 1.073 GB, free: 4.73 MB / 0.8262 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.0001001/0.3441, allocations: 129 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.3442, allocations: 7.906 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.3445, allocations: 150.1 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3445, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3445, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3445, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.345, allocations: 434.3 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.345, allocations: 4 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.3451, allocations: 8 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3451, allocations: 11.94 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3451, allocations: 3.984 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3451, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3452, allocations: 3.938 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3454, allocations: 227.4 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.3455, allocations: 84.95 kB / 1.075 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3455, allocations: 7.984 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3456, allocations: 8 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.3457, allocations: 15.92 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.3457, allocations: 7.984 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.3458, allocations: 103.3 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3458, allocations: 0 / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003073/0.3461, allocations: 40 kB / 1.075 GB, free: 3.406 MB / 0.8262 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.0003274/0.3465, allocations: 162.9 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.3467, allocations: 87.83 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3467, allocations: 0 / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3468, allocations: 51.91 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.3471, allocations: 16.23 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.3476, allocations: 207.5 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3479, allocations: 0.6963 MB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.3479, allocations: 16.41 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.3479, allocations: 15.44 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.348, allocations: 0 / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of Templates: time 0.004707/0.3527, allocations: 1.792 MB / 1.078 GB, free: 340 kB / 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