Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 109 kB / 16.41 MB, free: 6.5 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.001927/0.001928, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.618/1.618, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.766/2.766, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.84 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.9359, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002639/0.9385, allocations: 1.494 MB / 1.169 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.9399, allocations: 0.7245 MB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.94, allocations: 4 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.94, allocations: 7.922 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.9401, allocations: 11.86 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.9406, allocations: 115.6 kB / 1.17 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.9408, allocations: 79.69 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.9409, allocations: 12 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.941, allocations: 31.92 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.9411, allocations: 27.84 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.9411, allocations: 11.98 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.9413, allocations: 91.86 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.9413, allocations: 23.91 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.9414, allocations: 27.86 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.9416, allocations: 144.5 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9416, allocations: 0 / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9416, allocations: 0 / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.9417, allocations: 0 / 1.17 GB, free: 1.195 MB / 0.8887 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.000649/0.9423, allocations: 450.4 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.9424, allocations: 8.625 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.9424, allocations: 8.891 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.9425, allocations: 180.3 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.9426, allocations: 384 / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.9426, allocations: 4.375 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.9428, allocations: 73.97 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9428, allocations: 0 / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.9428, allocations: 4 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.9428, allocations: 0 / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.943, allocations: 39.91 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.9436, allocations: 304.7 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.9437, allocations: 46.56 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.9438, allocations: 36.97 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.9439, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.9441, allocations: 79.31 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.9441, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004419/0.9445, allocations: 141.6 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.9446, allocations: 55.41 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.9447, allocations: 121.8 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.9448, allocations: 25.7 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.9448, allocations: 96.08 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.9449, allocations: 15.91 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.9449, allocations: 29.7 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9451, allocations: 322.7 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.9452, allocations: 31.91 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.9453, allocations: 61.14 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.9455, allocations: 89.06 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9455, allocations: 4 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002481/0.9457, allocations: 109.5 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9458, allocations: 8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9458, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.9458, allocations: 8.156 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.9459, allocations: 11.94 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.9459, allocations: 7.984 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.946, allocations: 11.94 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.946, allocations: 4 kB / 1.172 GB, free: 14.58 MB / 0.9044 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.0001165/0.9461, allocations: 129.8 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.9461, allocations: 7.953 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.9462, allocations: 8.359 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.9462, allocations: 8 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9462, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9462, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.9467, allocations: 386.4 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9468, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.9468, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9468, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.9468, allocations: 3.984 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9468, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9468, allocations: 3.938 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.9472, allocations: 203.8 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.9473, allocations: 89.05 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.9473, allocations: 0 / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.9474, allocations: 8 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.9474, allocations: 11.92 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.9475, allocations: 4 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.08e-05/0.9475, allocations: 91.27 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9475, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000315/0.9479, allocations: 43.88 kB / 1.173 GB, free: 13.5 MB / 0.9044 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.0003843/0.9483, allocations: 162.3 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.9485, allocations: 71.89 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9485, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.9486, allocations: 35.92 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.9489, allocations: 14.64 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.9494, allocations: 197.1 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.9497, allocations: 0.6885 MB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.9498, allocations: 4.078 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.9498, allocations: 11.44 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9498, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.004666/0.9545, allocations: 1.455 MB / 1.176 GB, free: 10.82 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time