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.001157/0.001157, 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.001231/0.001231, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.78 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002888/0.3349, allocations: 1.556 MB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3362, allocations: 0.7361 MB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.3363, allocations: 7.938 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.3363, allocations: 7.922 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.3364, allocations: 7.922 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.3369, allocations: 99.77 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.337, allocations: 67.78 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.3371, allocations: 4 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.3372, allocations: 31.92 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.3373, allocations: 35.83 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3373, allocations: 4 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.3375, allocations: 91.84 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.3375, allocations: 15.92 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.3376, allocations: 27.86 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.3379, allocations: 131.9 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3379, allocations: 3.984 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.001e-06/0.3379, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.3379, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 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.0006546/0.3385, allocations: 438.7 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3386, allocations: 12.03 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.3387, allocations: 12.84 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3388, allocations: 180.2 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.3388, allocations: 384 / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3389, allocations: 12.25 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3391, allocations: 77.95 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3391, allocations: 4 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3391, allocations: 0 / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3391, allocations: 0 / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3393, allocations: 35.97 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.3398, allocations: 296.7 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.34, allocations: 54.5 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.3401, allocations: 28.97 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3401, allocations: 4 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.3404, allocations: 79.36 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.3404, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004615/0.3409, allocations: 145.5 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3409, allocations: 59.39 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.341, allocations: 121.8 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3411, allocations: 25.7 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.3411, allocations: 92.12 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3412, allocations: 19.75 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.3412, allocations: 29.7 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3414, allocations: 318.8 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.36e-05/0.3414, allocations: 23.98 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.3415, allocations: 61.12 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3417, allocations: 89.08 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3417, allocations: 3.938 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002218/0.342, allocations: 113.4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.342, allocations: 16.14 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.342, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.342, allocations: 4 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.3421, allocations: 8 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3422, allocations: 4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.3422, allocations: 11.89 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3423, allocations: 4 kB / 1.057 GB, free: 3.367 MB / 0.8106 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 0.0001097/0.3424, allocations: 134.8 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.3424, allocations: 8 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.3424, allocations: 4.375 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3424, allocations: 3.984 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3425, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3425, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.343, allocations: 378.4 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.343, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.343, allocations: 11.94 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.343, allocations: 8 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3431, allocations: 7.969 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3431, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3431, allocations: 7.922 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.3434, allocations: 199.4 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.3434, allocations: 81.11 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.3435, allocations: 3.984 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.3436, allocations: 12 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.3436, allocations: 7.922 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3437, allocations: 4 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.3437, allocations: 91.27 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3437, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003354/0.3441, allocations: 36 kB / 1.058 GB, free: 2.285 MB / 0.8106 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.0003827/0.3445, allocations: 161.6 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3447, allocations: 71.88 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3447, allocations: 4 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3448, allocations: 35.92 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.3451, allocations: 12.3 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.3457, allocations: 206.2 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3461, allocations: 0.6887 MB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.3462, allocations: 8 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.3462, allocations: 11.42 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3462, allocations: 4 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of Templates: time 0.00431/0.3505, allocations: 1.357 MB / 1.061 GB, free: 15.69 MB / 0.8262 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