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.001533/0.001533, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00178/0.00178, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.43/2.43, allocations: 390.2 MB / 0.6643 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.00188, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6936, allocations: 140.4 MB / 0.9491 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002219/0.6958, allocations: 1.54 MB / 0.9506 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.6968, allocations: 0.7144 MB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.6968, allocations: 0 / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.6968, allocations: 7.938 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.6969, allocations: 9.484 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.6974, allocations: 102.5 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.6975, allocations: 76.41 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.6975, allocations: 30.59 kB / 0.9515 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.6976, allocations: 28.23 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.6977, allocations: 37.69 kB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.6977, allocations: 6.281 kB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.6979, allocations: 94.03 kB / 0.9517 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.6979, allocations: 18.38 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.6979, allocations: 32.64 kB / 0.9517 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.6981, allocations: 132 kB / 0.9518 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6981, allocations: 3.938 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6981, allocations: 0.9062 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.6981, allocations: 0 / 0.9519 GB, free: 7.129 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.0004678/0.6986, allocations: 448.7 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6987, allocations: 10.28 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.6987, allocations: 8.531 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.76e-05/0.6988, allocations: 175.5 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.6988, allocations: 6.953 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.6988, allocations: 4.125 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.699, allocations: 72.69 kB / 0.9525 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.699, allocations: 0 / 0.9525 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6991, allocations: 4 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6991, allocations: 1.5 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.6992, allocations: 35.88 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.6996, allocations: 296.7 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6997, allocations: 57.48 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.6998, allocations: 34.94 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.6998, allocations: 1.188 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.7, allocations: 77.84 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.7, allocations: 0 / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003498/0.7004, allocations: 139 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.7004, allocations: 65.77 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.7005, allocations: 121.3 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.7005, allocations: 29.64 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.7005, allocations: 91.47 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.7006, allocations: 14.69 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.7006, allocations: 29.8 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.7007, allocations: 320.1 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.7007, allocations: 25.3 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.7008, allocations: 61.75 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.701, allocations: 91.83 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.701, allocations: 1.125 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000201/0.7012, allocations: 111.7 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7012, allocations: 10.53 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7012, allocations: 5.219 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7012, allocations: 2.281 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.7013, allocations: 13.36 kB / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.7013, allocations: 2.469 kB / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.839e-05/0.7014, allocations: 12.36 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.7014, allocations: 3.562 kB / 0.9541 GB, free: 4.914 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.652e-05/0.7015, allocations: 127.7 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.7015, allocations: 6.469 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.7015, allocations: 10.66 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7015, allocations: 1.188 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7015, allocations: 0 / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.7016, allocations: 3.984 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.7019, allocations: 390.5 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7019, allocations: 0 / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.702, allocations: 2.703 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.702, allocations: 5.422 kB / 0.9547 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.702, allocations: 5.344 kB / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.702, allocations: 0 / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.702, allocations: 11.86 kB / 0.9547 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.7022, allocations: 197.1 kB / 0.9549 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.7023, allocations: 87.33 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.7023, allocations: 0 / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.7024, allocations: 11.64 kB / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.7024, allocations: 10.28 kB / 0.955 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7024, allocations: 6.672 kB / 0.955 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.7025, allocations: 92.17 kB / 0.9551 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7025, allocations: 3.938 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002879/0.7028, allocations: 37.38 kB / 0.9551 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.0003173/0.7031, allocations: 166.8 kB / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.7034, allocations: 68.95 kB / 0.9553 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7034, allocations: 0 / 0.9553 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.7035, allocations: 32.45 kB / 0.9554 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.7037, allocations: 17.98 kB / 0.9554 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.7041, allocations: 202.6 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.7043, allocations: 0.6909 MB / 0.9562 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.7043, allocations: 4 kB / 0.9562 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.7044, allocations: 18.94 kB / 0.9563 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7044, allocations: 0 / 0.9563 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.003709/0.7081, allocations: 1.391 MB / 0.9576 GB, free: 2.207 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