Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007807/0.007807, allocations: 97.06 kB / 15.73 MB, free: 5.547 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.001377/0.001377, allocations: 196.6 kB / 16.68 MB, free: 5.469 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.648/2.648, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8584, allocations: 159.1 MB / 1.221 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00335/0.8617, allocations: 1.526 MB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.8632, allocations: 0.7526 MB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.8633, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.8633, allocations: 7.875 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.8634, allocations: 23.84 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.864, allocations: 131.5 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.8641, allocations: 91.77 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.8642, allocations: 7.984 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.8643, allocations: 55.77 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.8644, allocations: 43.84 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.8644, allocations: 8 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.8646, allocations: 103.8 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.8647, allocations: 27.91 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.8647, allocations: 35.8 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.865, allocations: 156.1 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.865, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.865, allocations: 7.938 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.865, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008369/0.8658, allocations: 0.496 MB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.8659, allocations: 12.62 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.8659, allocations: 8.891 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.8661, allocations: 178.5 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.8661, allocations: 8.359 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.8661, allocations: 8.375 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.8663, allocations: 77.95 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8663, allocations: 4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.8664, allocations: 8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.8664, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.8665, allocations: 47.97 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.8671, allocations: 332.6 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.8674, allocations: 82.67 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/0.8674, allocations: 36.84 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.8675, allocations: 3.984 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.8677, allocations: 99.39 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.8677, allocations: 0 / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004479/0.8682, allocations: 177.5 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.8682, allocations: 59.39 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.8683, allocations: 134.1 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.8684, allocations: 29.7 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.8684, allocations: 92.08 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.8684, allocations: 23.84 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.8685, allocations: 33.7 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8686, allocations: 326.7 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.8687, allocations: 35.97 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.8688, allocations: 68.09 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.869, allocations: 113 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.869, allocations: 0 / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002525/0.8692, allocations: 141.4 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.8693, allocations: 8 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8693, allocations: 0 / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8693, allocations: 7.938 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.8694, allocations: 19.92 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.8694, allocations: 4.094 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.8695, allocations: 19.92 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.8695, allocations: 4 kB / 1.226 GB, free: 12.17 MB / 0.9512 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001103/0.8696, allocations: 133.1 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.8696, allocations: 7.953 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.87, allocations: 160 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.87, allocations: 4 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.87, allocations: 4 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.87, allocations: 0 / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.8706, allocations: 450.3 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8706, allocations: 0 / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.8707, allocations: 11.98 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8707, allocations: 4 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.8707, allocations: 4 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.8707, allocations: 7.922 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8707, allocations: 7.984 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.871, allocations: 246.5 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.8711, allocations: 89.2 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.8711, allocations: 3.938 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.8712, allocations: 15.97 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.8713, allocations: 11.98 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.8713, allocations: 12 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.267e-05/0.8714, allocations: 99.27 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.8714, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003139/0.8717, allocations: 43.92 kB / 1.227 GB, free: 10.77 MB / 0.9512 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003487/0.872, allocations: 169.5 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.8723, allocations: 101.5 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8723, allocations: 0 / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.8724, allocations: 39.98 kB / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.8727, allocations: 11.98 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.8732, allocations: 231.9 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.8735, allocations: 0.6963 MB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.8735, allocations: 8.422 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.8735, allocations: 19.44 kB / 1.229 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.8735, allocations: 0 / 1.229 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of Templates: time 0.004915/0.8785, allocations: 1.975 MB / 1.23 GB, free: 7.492 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches