Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00776/0.00776, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001829/0.001829, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.367/1.367, 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 12.0.0-master/package.mo): time 2.677/2.677, allocations: 472.6 MB / 0.7453 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8317, allocations: 159.9 MB / 1.226 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00252/0.8343, allocations: 1.495 MB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.8356, allocations: 0.7255 MB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.8357, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.8357, allocations: 3.938 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.8358, allocations: 15.8 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.8364, allocations: 127.6 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.8365, allocations: 67.83 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.8366, allocations: 15.94 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.8367, allocations: 31.86 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.8368, allocations: 35.83 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.8368, allocations: 8 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.837, allocations: 95.84 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.8371, allocations: 23.92 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.8371, allocations: 27.86 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.8374, allocations: 144.5 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.8374, allocations: 0 / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8374, allocations: 0 / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.8374, allocations: 0 / 1.228 GB, free: 10.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005593/0.838, allocations: 442.4 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.838, allocations: 12.03 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.838, allocations: 8.891 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.8382, allocations: 172.3 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.8382, allocations: 384 / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.8382, allocations: 8.375 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.8384, allocations: 73.91 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8384, allocations: 7.922 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.8384, allocations: 0 / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8385, allocations: 0 / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.8386, allocations: 35.97 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.8391, allocations: 304.7 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.8392, allocations: 50.5 kB / 1.229 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.8393, allocations: 36.95 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.8394, allocations: 0 / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.8396, allocations: 79.36 kB / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.8396, allocations: 0 / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004139/0.84, allocations: 141.7 kB / 1.23 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.8401, allocations: 55.34 kB / 1.23 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.8402, allocations: 125.8 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.8402, allocations: 29.7 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.8403, allocations: 92.14 kB / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.8403, allocations: 19.89 kB / 1.23 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.8403, allocations: 21.72 kB / 1.23 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8405, allocations: 322.8 kB / 1.23 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.8405, allocations: 19.98 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.8406, allocations: 65.14 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.8408, allocations: 85.06 kB / 1.23 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8408, allocations: 4 kB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.841, allocations: 113.5 kB / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8411, allocations: 9.562 kB / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8411, allocations: 0 / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8411, allocations: 4 kB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.8412, allocations: 23.86 kB / 1.231 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8412, allocations: 4 kB / 1.231 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.8413, allocations: 16.03 kB / 1.231 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.8413, allocations: 8 kB / 1.231 GB, free: 8.234 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: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.781e-05/0.8414, allocations: 126.2 kB / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.8414, allocations: 7.953 kB / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.8414, allocations: 8.375 kB / 1.231 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8415, allocations: 4 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8415, allocations: 0 / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8415, allocations: 0 / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.8419, allocations: 382.7 kB / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8419, allocations: 0 / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.842, allocations: 3.984 kB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.842, allocations: 4 kB / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.842, allocations: 0 / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.842, allocations: 3.938 kB / 1.231 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.842, allocations: 3.938 kB / 1.231 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.8423, allocations: 211.6 kB / 1.231 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.8424, allocations: 85.06 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.8424, allocations: 0 / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.8425, allocations: 7.984 kB / 1.231 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.8425, allocations: 7.938 kB / 1.231 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.8425, allocations: 4 kB / 1.231 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.8426, allocations: 91.27 kB / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8426, allocations: 0 / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003254/0.8429, allocations: 47.86 kB / 1.232 GB, free: 7.152 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003224/0.8433, allocations: 165.1 kB / 1.232 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.8435, allocations: 75.84 kB / 1.232 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8435, allocations: 320 / 1.232 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.8436, allocations: 43.95 kB / 1.232 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.8439, allocations: 4 kB / 1.232 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.8443, allocations: 204.6 kB / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.8445, allocations: 0.6885 MB / 1.233 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.8446, allocations: 8 kB / 1.233 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.8446, allocations: 11.44 kB / 1.233 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8446, allocations: 0 / 1.233 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of Templates: time 0.003922/0.8485, allocations: 1.445 MB / 1.234 GB, free: 4.48 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time