Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001702/0.001702, 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.001825/0.001825, allocations: 196.6 kB / 16.14 MB, free: 6.648 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6975, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003075/0.7007, allocations: 1.55 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.702, allocations: 0.7363 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.7021, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.7021, allocations: 3.938 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.7022, allocations: 11.86 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.7028, allocations: 99.77 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.7029, allocations: 71.78 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.703, allocations: 8 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.7031, allocations: 27.91 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.7032, allocations: 43.77 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.7032, allocations: 4 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.7034, allocations: 91.84 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.7034, allocations: 15.92 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.7035, allocations: 27.86 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.7037, allocations: 129.7 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.7037, allocations: 4 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.01e-07/0.7037, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7037, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 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.0006662/0.7044, allocations: 438.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7045, allocations: 15.97 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.7045, allocations: 8.828 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.7046, allocations: 172.2 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.7047, allocations: 12.38 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.7047, allocations: 4.375 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.7049, allocations: 73.95 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.7049, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7049, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7049, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.7051, allocations: 39.97 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.7056, allocations: 304.7 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.7057, allocations: 46.56 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.7058, allocations: 32.91 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.7058, allocations: 4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.706, allocations: 83.31 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.706, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003946/0.7064, allocations: 141.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.7065, allocations: 51.41 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.7066, allocations: 121.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.7066, allocations: 29.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.7067, allocations: 92.14 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.7067, allocations: 15.81 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.7067, allocations: 25.7 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7069, allocations: 322.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-05/0.7069, allocations: 19.98 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.707, allocations: 61.08 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.7072, allocations: 97.05 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7072, allocations: 0 / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002285/0.7074, allocations: 117.4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7075, allocations: 8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.7075, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7075, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.7076, allocations: 19.92 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.7076, allocations: 3.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.7077, allocations: 19.84 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7077, allocations: 4.156 kB / 1.022 GB, free: 13.36 MB / 0.7794 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.372e-05/0.7078, allocations: 122.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.7078, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.7079, allocations: 12.31 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.7079, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.7079, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7079, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.7084, allocations: 386.3 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7084, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.7084, allocations: 7.984 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7084, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.7085, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7085, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7085, allocations: 3.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.7088, allocations: 219.7 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.7089, allocations: 85.05 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.7089, allocations: 0 / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.709, allocations: 4 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.709, allocations: 7.922 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.709, allocations: 12 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.681e-05/0.7091, allocations: 91.27 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7091, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002922/0.7094, allocations: 39.98 kB / 1.023 GB, free: 12.28 MB / 0.7794 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.0003362/0.7098, allocations: 160.1 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.71, allocations: 71.89 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.71, allocations: 4.312 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.7101, allocations: 43.91 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.7104, allocations: 4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.7108, allocations: 206 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.7111, allocations: 0.6888 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.7112, allocations: 7.984 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.7112, allocations: 11.44 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of SimCode: time 6.31e-07/0.7112, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.003906/0.7151, allocations: 1.351 MB / 1.025 GB, free: 9.695 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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