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 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.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.001558/0.001558, allocations: 108 kB / 15.6 MB, free: 132 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.001882/0.001882, allocations: 191 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.98 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3409, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003238/0.3442, allocations: 1.509 MB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3457, allocations: 0.7593 MB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.3458, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.3459, allocations: 3.938 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.346, allocations: 23.8 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.3467, allocations: 127.6 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3469, allocations: 99.69 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.347, allocations: 15.97 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3472, allocations: 47.86 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.3473, allocations: 43.81 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3473, allocations: 8 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.3476, allocations: 99.84 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.3476, allocations: 23.91 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.3477, allocations: 47.78 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.348, allocations: 151.9 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.348, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.046e-06/0.348, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.348, allocations: 3.938 kB / 1.071 GB, free: 7.438 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007733/0.3488, allocations: 0.4885 MB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3488, allocations: 12.03 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.3489, allocations: 12.83 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.3491, allocations: 180.2 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3491, allocations: 4.375 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3491, allocations: 8.375 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3493, allocations: 85.95 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3493, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3494, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3494, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3495, allocations: 63.89 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.3501, allocations: 328.7 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3503, allocations: 86.7 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.3504, allocations: 40.84 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3504, allocations: 11.92 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.3507, allocations: 95.36 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3507, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004192/0.3511, allocations: 169.8 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3512, allocations: 63.34 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3513, allocations: 131.4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3513, allocations: 29.7 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.3514, allocations: 100 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3514, allocations: 27.64 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3515, allocations: 33.7 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3516, allocations: 322.8 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.3517, allocations: 27.98 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3518, allocations: 83.23 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.352, allocations: 105.1 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.352, allocations: 4 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002356/0.3522, allocations: 133.5 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3522, allocations: 8.938 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3523, allocations: 3.984 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3523, allocations: 4 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3524, allocations: 23.86 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3524, allocations: 0 / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3525, allocations: 19.94 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3525, allocations: 11.98 kB / 1.074 GB, free: 4.484 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,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 9.65e-05/0.3526, allocations: 129.7 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.3527, allocations: 7.906 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.353, allocations: 154.3 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.353, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3531, allocations: 4 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3531, allocations: 0 / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.3536, allocations: 457.8 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3536, allocations: 0 / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.3537, allocations: 11.98 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3537, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3537, allocations: 4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3538, allocations: 0 / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3538, allocations: 7.875 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.3541, allocations: 239.4 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.3541, allocations: 88.95 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3542, allocations: 4 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3543, allocations: 7.984 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3543, allocations: 19.92 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3544, allocations: 7.984 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.3544, allocations: 107.2 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3544, allocations: 0 / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003045/0.3548, allocations: 40 kB / 1.075 GB, free: 3.113 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 (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.0003433/0.3551, allocations: 177.5 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3554, allocations: 103.9 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3554, allocations: 0 / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.3555, allocations: 51.92 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3558, allocations: 15.98 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.3563, allocations: 236 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3565, allocations: 0.6924 MB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.012e-05/0.3566, allocations: 16.41 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.3566, allocations: 15.44 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3567, allocations: 0 / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.00489/0.3615, allocations: 1.954 MB / 1.078 GB, free: 15.83 MB / 0.8419 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