Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001574/0.001574, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.2 MB / 0.6642 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 71.88 kB / 0.8118 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7361, allocations: 140.3 MB / 0.9489 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002527/0.7386, allocations: 1.589 MB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.7398, allocations: 0.7464 MB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.7399, allocations: 1.312 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.7399, allocations: 7.922 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.74, allocations: 14.31 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.7404, allocations: 110.3 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.67e-05/0.7405, allocations: 103 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.7406, allocations: 10.2 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.7407, allocations: 41.94 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.7408, allocations: 48.12 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.7408, allocations: 5.312 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.741, allocations: 94 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.741, allocations: 17.3 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.7411, allocations: 39.06 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.7413, allocations: 151.2 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7413, allocations: 0 / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.61e-07/0.7413, allocations: 5.344 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.7413, allocations: 0 / 0.9518 GB, free: 7.023 MB / 0.7169 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.0006238/0.7419, allocations: 0.4908 MB / 0.9523 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.742, allocations: 8.719 kB / 0.9523 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.742, allocations: 9.781 kB / 0.9523 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.7421, allocations: 182.1 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.7421, allocations: 7.047 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.7421, allocations: 8.094 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.7423, allocations: 80.55 kB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7423, allocations: 0 / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.7424, allocations: 9.188 kB / 0.9526 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7424, allocations: 9.281 kB / 0.9526 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.7425, allocations: 45.19 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.743, allocations: 338.3 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.7432, allocations: 86.17 kB / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.7433, allocations: 38.75 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.7433, allocations: 1.594 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.7436, allocations: 94.73 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.7436, allocations: 0 / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004369/0.744, allocations: 187.9 kB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.7441, allocations: 57.64 kB / 0.9534 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.7441, allocations: 135.8 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.7442, allocations: 27.8 kB / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.7442, allocations: 91.39 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.7442, allocations: 30.91 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.7443, allocations: 32.83 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.7443, allocations: 325.1 kB / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.7444, allocations: 36.31 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/0.7445, allocations: 64.09 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.7447, allocations: 111.7 kB / 0.9542 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7447, allocations: 1.625 kB / 0.9542 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000235/0.7449, allocations: 139 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.745, allocations: 5.531 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.745, allocations: 1.125 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.745, allocations: 2.125 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.7451, allocations: 20.92 kB / 0.9544 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.7451, allocations: 13.39 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.7452, allocations: 18.7 kB / 0.9544 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.7453, allocations: 4.594 kB / 0.9544 GB, free: 4.598 MB / 0.7169 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 6.737e-05/0.7453, allocations: 128.4 kB / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.7454, allocations: 7.5 kB / 0.9545 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.7457, allocations: 164.4 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.7457, allocations: 5.031 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7457, allocations: 1.281 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7457, allocations: 0 / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.7462, allocations: 447.6 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7462, allocations: 0 / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.7463, allocations: 16.83 kB / 0.9551 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.7463, allocations: 1.312 kB / 0.9551 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.7463, allocations: 9.312 kB / 0.9552 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7463, allocations: 5.312 kB / 0.9552 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7463, allocations: 7.922 kB / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.7466, allocations: 230.8 kB / 0.9554 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.7466, allocations: 88.69 kB / 0.9555 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.7467, allocations: 1.094 kB / 0.9555 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.7468, allocations: 11.86 kB / 0.9555 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.7469, allocations: 18.17 kB / 0.9555 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.7469, allocations: 4.094 kB / 0.9555 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.7469, allocations: 99.83 kB / 0.9556 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7469, allocations: 0 / 0.9556 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003341/0.7473, allocations: 49.58 kB / 0.9557 GB, free: 3.531 MB / 0.7169 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.0002958/0.7476, allocations: 168.1 kB / 0.9558 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.7478, allocations: 94.17 kB / 0.9559 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7479, allocations: 2.656 kB / 0.9559 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.748, allocations: 52.62 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.7483, allocations: 15.09 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.7487, allocations: 247 kB / 0.9562 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.7488, allocations: 0.6948 MB / 0.9569 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.497e-05/0.7489, allocations: 14.77 kB / 0.9569 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.7489, allocations: 12.97 kB / 0.9569 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7489, allocations: 0 / 0.9569 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.004405/0.7533, allocations: 1.819 MB / 0.9587 GB, free: 1.492 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches