Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001523/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001885/0.001885, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.2 MB / 0.6642 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6335, allocations: 140.4 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002153/0.6357, allocations: 1.542 MB / 0.9504 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.6367, allocations: 0.7245 MB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.6367, allocations: 0 / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.6368, allocations: 3.938 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.6368, allocations: 13.45 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.6373, allocations: 100.9 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.6374, allocations: 72.17 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.6375, allocations: 17.56 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.6375, allocations: 29.23 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.6376, allocations: 34.94 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.6376, allocations: 6.094 kB / 0.9514 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.6378, allocations: 90 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.6378, allocations: 22.84 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.6378, allocations: 24.17 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.638, allocations: 135.8 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.638, allocations: 0 / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6381, allocations: 3.938 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6381, allocations: 1.406 kB / 0.9517 GB, free: 7.121 MB / 0.7169 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.0004832/0.6386, allocations: 443.8 kB / 0.9521 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6386, allocations: 9.344 kB / 0.9521 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.6387, allocations: 9.062 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.6387, allocations: 172.2 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.6388, allocations: 6.906 kB / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6388, allocations: 8.609 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.639, allocations: 71.36 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.639, allocations: 0 / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.639, allocations: 1.219 kB / 0.9524 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.639, allocations: 1.188 kB / 0.9524 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.6392, allocations: 43.75 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.6396, allocations: 301.1 kB / 0.9527 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6397, allocations: 48.23 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.6398, allocations: 32.03 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.6398, allocations: 0.9375 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.64, allocations: 85.81 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.64, allocations: 7.922 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003787/0.6404, allocations: 131.3 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.6404, allocations: 52.88 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.6405, allocations: 122.2 kB / 0.9531 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.6405, allocations: 33.7 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.6406, allocations: 91.2 kB / 0.9533 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.6406, allocations: 19.02 kB / 0.9533 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.6407, allocations: 20.72 kB / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.6407, allocations: 325.1 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.6408, allocations: 20.67 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.6409, allocations: 70.41 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.641, allocations: 88.39 kB / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.641, allocations: 0 / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002033/0.6412, allocations: 117.1 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6413, allocations: 5.75 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6413, allocations: 1.531 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6413, allocations: 5.125 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.6414, allocations: 18.45 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6414, allocations: 1.375 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.6415, allocations: 21.23 kB / 0.9539 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6415, allocations: 3.312 kB / 0.9539 GB, free: 4.902 MB / 0.7169 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 6.124e-05/0.6415, allocations: 119.8 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.6416, allocations: 6.719 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.6416, allocations: 9.719 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6416, allocations: 1.531 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6416, allocations: 0 / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6416, allocations: 7.938 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.642, allocations: 385.4 kB / 0.9544 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.642, allocations: 1.25 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.642, allocations: 3.75 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.642, allocations: 0 / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6421, allocations: 1.062 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6421, allocations: 1.125 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6421, allocations: 3.938 kB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.6423, allocations: 213 kB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.6423, allocations: 85.89 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.6424, allocations: 1.125 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.6425, allocations: 7.922 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.6425, allocations: 5.344 kB / 0.9548 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6425, allocations: 10.98 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.6426, allocations: 92.7 kB / 0.9549 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6426, allocations: 4 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003052/0.6429, allocations: 37.12 kB / 0.9549 GB, free: 3.996 MB / 0.7169 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.0003077/0.6432, allocations: 159.9 kB / 0.955 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.6434, allocations: 71.7 kB / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6434, allocations: 5.156 kB / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.6435, allocations: 39.31 kB / 0.9552 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.6438, allocations: 10.95 kB / 0.9552 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.6442, allocations: 204.3 kB / 0.9554 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.6443, allocations: 0.6919 MB / 0.956 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.6443, allocations: 2.844 kB / 0.956 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.6444, allocations: 11.38 kB / 0.9561 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6444, allocations: 0 / 0.9561 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.003584/0.6479, allocations: 1.365 MB / 0.9574 GB, free: 2.223 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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