Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_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_latest_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.006603/0.006603, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001453/0.001453, allocations: 189 kB / 16.67 MB, free: 5.961 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9403/0.9417, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002633/0.9444, allocations: 1.524 MB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.9457, allocations: 0.7479 MB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.9458, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.9458, allocations: 7.875 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.9459, allocations: 15.86 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.9465, allocations: 135.5 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.9466, allocations: 95.7 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.9468, allocations: 15.98 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.9469, allocations: 51.72 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.947, allocations: 47.81 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.947, allocations: 8 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.9472, allocations: 95.91 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.9472, allocations: 23.91 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.9473, allocations: 39.8 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.9475, allocations: 159.4 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9475, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9476, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.9476, allocations: 4 kB / 1.211 GB, free: 10.64 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007661/0.9483, allocations: 498 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9484, allocations: 8.031 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.9484, allocations: 16.83 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.9486, allocations: 180.2 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.9486, allocations: 384 / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.9486, allocations: 4.375 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.9489, allocations: 93.89 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9489, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.9489, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.9489, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.9491, allocations: 55.95 kB / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.9497, allocations: 336.5 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.9499, allocations: 82.67 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.95, allocations: 44.83 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.95, allocations: 4 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.9503, allocations: 95.39 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 3.597e-06/0.9503, allocations: 3.984 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004441/0.9508, allocations: 177.5 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.9508, allocations: 55.41 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.9509, allocations: 136.7 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.951, allocations: 29.7 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.951, allocations: 100 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.9511, allocations: 23.66 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.9511, allocations: 33.7 kB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9513, allocations: 330.8 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.9514, allocations: 27.98 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.9515, allocations: 77 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.9517, allocations: 109.1 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9517, allocations: 0 / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002569/0.9519, allocations: 129.4 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.952, allocations: 11.98 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.952, allocations: 0 / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.952, allocations: 4 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.9521, allocations: 24.02 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.9521, allocations: 0 / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.9522, allocations: 15.91 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.9523, allocations: 7.984 kB / 1.213 GB, free: 7.699 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,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.000104/0.9524, allocations: 121.8 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.9524, allocations: 7.906 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.9528, allocations: 174.2 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.9528, allocations: 4 kB / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9528, allocations: 0 / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9528, allocations: 0 / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.9534, allocations: 454.2 kB / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9534, allocations: 0 / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.9535, allocations: 11.98 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9535, allocations: 4 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.9535, allocations: 0 / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.9535, allocations: 11.94 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9536, allocations: 144 / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.9539, allocations: 246.8 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.954, allocations: 85.02 kB / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.954, allocations: 11.92 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.9541, allocations: 4 kB / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.9542, allocations: 19.98 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.9542, allocations: 7.984 kB / 1.214 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.9543, allocations: 97.38 kB / 1.214 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9543, allocations: 0 / 1.214 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003302/0.9546, allocations: 47.94 kB / 1.214 GB, free: 6.309 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 (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.0003643/0.955, allocations: 163.5 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.9553, allocations: 99.88 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9553, allocations: 0 / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.9554, allocations: 59.05 kB / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.9557, allocations: 15.98 kB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.9563, allocations: 228 kB / 1.215 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.9566, allocations: 0.7001 MB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.979e-05/0.9567, allocations: 12.42 kB / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.9567, allocations: 11.44 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.9567, allocations: 0 / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.005347/0.9621, allocations: 2.005 MB / 1.218 GB, free: 2.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches