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 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.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.008921/0.008922, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001513/0.001513, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.436/1.436, 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.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7516, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002514/0.7542, allocations: 1.501 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.7555, allocations: 0.7167 MB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.7556, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.7557, allocations: 3.938 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.7557, allocations: 11.86 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.7564, allocations: 119.6 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.7565, allocations: 75.7 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.7566, allocations: 19.94 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.7567, allocations: 31.92 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.7568, allocations: 35.83 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.7569, allocations: 8 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.7571, allocations: 91.84 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.7571, allocations: 15.98 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.7572, allocations: 31.8 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.7574, allocations: 139.5 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7574, allocations: 0 / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7574, allocations: 4 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.7574, allocations: 0 / 1.21 GB, free: 10.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006599/0.7581, allocations: 444.4 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7582, allocations: 12.03 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.7582, allocations: 12.84 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.7583, allocations: 172.2 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.7584, allocations: 384 / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.7584, allocations: 4.375 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.7586, allocations: 81.95 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7586, allocations: 3.984 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7586, allocations: 0 / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7586, allocations: 0 / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.7588, allocations: 43.89 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.7593, allocations: 288.8 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.7595, allocations: 54.55 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.7596, allocations: 36.91 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.7596, allocations: 4 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.7598, allocations: 75.31 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7598, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004016/0.7602, allocations: 141.6 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.7602, allocations: 55.41 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.7603, allocations: 125.7 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.7604, allocations: 25.7 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.7604, allocations: 88.14 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.7604, allocations: 19.8 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.7605, allocations: 25.72 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7606, allocations: 326.8 kB / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.7607, allocations: 19.98 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.7608, allocations: 65.08 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.7609, allocations: 93.06 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.761, allocations: 4 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002205/0.7612, allocations: 109.6 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7612, allocations: 12 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.7612, allocations: 0 / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7612, allocations: 4 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.7613, allocations: 11.98 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7613, allocations: 7.938 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.107e-05/0.7614, allocations: 7.938 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.7614, allocations: 8.297 kB / 1.213 GB, free: 8.199 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: 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 9.022e-05/0.7615, allocations: 125.8 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.7615, allocations: 7.906 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.7616, allocations: 8.312 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.7616, allocations: 0 / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7616, allocations: 4 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7616, allocations: 3.938 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.762, allocations: 382.4 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7621, allocations: 4 kB / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.7621, allocations: 3.984 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7621, allocations: 8 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7621, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7621, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7621, allocations: 3.938 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.7624, allocations: 207.3 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.7625, allocations: 88.95 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.7625, allocations: 4 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.7626, allocations: 11.98 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.7627, allocations: 3.938 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.7627, allocations: 8.031 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.7627, allocations: 87.94 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7628, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003074/0.7631, allocations: 39.98 kB / 1.214 GB, free: 7.113 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: 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.000339/0.7634, allocations: 170 kB / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.7637, allocations: 71.89 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7637, allocations: 7.875 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.7638, allocations: 39.91 kB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.7641, allocations: 8.312 kB / 1.214 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.7645, allocations: 192.9 kB / 1.214 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.7647, allocations: 0.6885 MB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.604e-05/0.7647, allocations: 4 kB / 1.215 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.7648, allocations: 11.44 kB / 1.215 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.7648, allocations: 0 / 1.215 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of Templates: time 0.004064/0.7689, allocations: 1.454 MB / 1.216 GB, free: 4.438 MB / 0.9356 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