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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007905/0.0007905, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.0007986/0.0007986, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.544/2.544, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7921, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001783/0.7939, allocations: 1.188 MB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.7953, allocations: 0.6774 MB / 0.9563 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.7953, allocations: 0.9062 kB / 0.9563 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.7954, allocations: 4 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.7955, allocations: 10.12 kB / 0.9563 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.7961, allocations: 99.33 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.7962, allocations: 60.94 kB / 0.9564 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.7963, allocations: 13.56 kB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.7964, allocations: 32.59 kB / 0.9565 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.7965, allocations: 38.16 kB / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.7965, allocations: 2.188 kB / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.7967, allocations: 77.27 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.7968, allocations: 14.55 kB / 0.9566 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.7968, allocations: 39.03 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.797, allocations: 91.45 kB / 0.9567 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.797, allocations: 1.156 kB / 0.9567 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.797, allocations: 0 / 0.9567 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7971, allocations: 0 / 0.9567 GB, free: 5.918 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.0005994/0.7977, allocations: 442.8 kB / 0.9571 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7977, allocations: 13.06 kB / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.7978, allocations: 11.95 kB / 0.9572 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.7979, allocations: 167 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.7979, allocations: 2.031 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.798, allocations: 8.188 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.7982, allocations: 74.83 kB / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7982, allocations: 4 kB / 0.9574 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.7982, allocations: 0 / 0.9574 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7983, allocations: 5.188 kB / 0.9574 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.7984, allocations: 46.42 kB / 0.9575 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.799, allocations: 301.6 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.7992, allocations: 55.7 kB / 0.9578 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.7993, allocations: 35.69 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.7993, allocations: 0 / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.7996, allocations: 86.36 kB / 0.9579 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.7996, allocations: 1.25 kB / 0.9579 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000501/0.8001, allocations: 146 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.8001, allocations: 57.91 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.8002, allocations: 124.8 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.8003, allocations: 27.17 kB / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.8003, allocations: 90.02 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.8004, allocations: 14.77 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.8004, allocations: 4 kB / 0.9584 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.8004, allocations: 317.7 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.8005, allocations: 27.33 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.8007, allocations: 67.91 kB / 0.9587 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.8008, allocations: 30.7 kB / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8008, allocations: 0 / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003136/0.8011, allocations: 123 kB / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.8011, allocations: 5.5 kB / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8012, allocations: 8.109 kB / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8012, allocations: 3.703 kB / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.8013, allocations: 14.77 kB / 0.9589 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8013, allocations: 9.703 kB / 0.9589 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.8014, allocations: 13.22 kB / 0.9589 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.8014, allocations: 7.5 kB / 0.959 GB, free: 3.777 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.996e-05/0.8015, allocations: 117.2 kB / 0.9591 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.8016, allocations: 11.59 kB / 0.9591 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.8016, allocations: 10.17 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.8016, allocations: 3.953 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8016, allocations: 1.781 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8016, allocations: 0 / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.8021, allocations: 390.3 kB / 0.9595 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8021, allocations: 0 / 0.9595 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.8022, allocations: 9.5 kB / 0.9595 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8022, allocations: 3.953 kB / 0.9595 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.8022, allocations: 5.359 kB / 0.9595 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.8022, allocations: 7.938 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8022, allocations: 1.375 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.8025, allocations: 209.1 kB / 0.9597 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.8026, allocations: 91.69 kB / 0.9598 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.8026, allocations: 3.953 kB / 0.9598 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.8027, allocations: 8.125 kB / 0.9598 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.8028, allocations: 6.734 kB / 0.9598 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.8028, allocations: 2.75 kB / 0.9598 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.8029, allocations: 91.52 kB / 0.9599 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8029, allocations: 1.375 kB / 0.9599 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004538/0.8033, allocations: 39.5 kB / 0.9599 GB, free: 2.867 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003516/0.8037, allocations: 158.6 kB / 0.9601 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.804, allocations: 78.45 kB / 0.9602 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.804, allocations: 3.938 kB / 0.9602 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.8042, allocations: 38.2 kB / 0.9602 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.8046, allocations: 12.11 kB / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.8051, allocations: 216.3 kB / 0.9604 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.8052, allocations: 0.6924 MB / 0.9611 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.38e-05/0.8053, allocations: 6.891 kB / 0.9611 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.8053, allocations: 11.25 kB / 0.9611 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of SimCode: time 4.1e-07/0.8053, allocations: 0 / 0.9611 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.005104/0.8104, allocations: 1.325 MB / 0.9624 GB, free: 1.102 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