Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.001517/0.001517, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001626/0.001626, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.34/2.34, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.45 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2701, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002872/0.273, allocations: 1.484 MB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2743, allocations: 0.7206 MB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.2744, allocations: 4 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.2744, allocations: 3.938 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.2745, allocations: 15.86 kB / 0.9524 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.2751, allocations: 119.6 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2753, allocations: 71.72 kB / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2754, allocations: 11.98 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2755, allocations: 35.91 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.2756, allocations: 35.83 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2756, allocations: 12 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.2759, allocations: 91.84 kB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.2759, allocations: 15.98 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.2759, allocations: 31.8 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2762, allocations: 135.9 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2762, allocations: 0 / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2762, allocations: 4 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.2762, allocations: 0 / 0.953 GB, free: 6.074 MB / 0.7325 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.0006294/0.2769, allocations: 443.8 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2769, allocations: 12.03 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.277, allocations: 8.828 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2771, allocations: 172.3 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.2771, allocations: 8.375 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2771, allocations: 4.375 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.2774, allocations: 77.94 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2774, allocations: 3.984 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2774, allocations: 4 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.2774, allocations: 0 / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2776, allocations: 39.97 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.2781, allocations: 300.6 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.2782, allocations: 50.56 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.2784, allocations: 36.97 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2784, allocations: 4 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.2786, allocations: 79.36 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2786, allocations: 0 / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004135/0.279, allocations: 141.5 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.2791, allocations: 51.41 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.2792, allocations: 133.7 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.2792, allocations: 29.7 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.2793, allocations: 88.14 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.2793, allocations: 15.75 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.2793, allocations: 29.7 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.2794, allocations: 322.8 kB / 0.9549 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.2795, allocations: 27.92 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.2796, allocations: 57.14 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2798, allocations: 97 kB / 0.9551 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2798, allocations: 0 / 0.9551 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.28, allocations: 113.4 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2801, allocations: 8 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2801, allocations: 0 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2801, allocations: 160 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.2802, allocations: 23.98 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2802, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.2803, allocations: 7.906 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2803, allocations: 4 kB / 0.9553 GB, free: 3.457 MB / 0.7325 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.386e-05/0.2804, allocations: 136.1 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.2804, allocations: 4 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.2805, allocations: 8.375 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2805, allocations: 0 / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2805, allocations: 4 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2805, allocations: 0 / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.281, allocations: 382.3 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.281, allocations: 0 / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.281, allocations: 7.984 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.281, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.281, allocations: 8 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2811, allocations: 3.938 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2811, allocations: 7.938 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.2814, allocations: 199.5 kB / 0.956 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.2814, allocations: 85.02 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2815, allocations: 0 / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.2816, allocations: 4 kB / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.2816, allocations: 15.86 kB / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2816, allocations: 8.047 kB / 0.9561 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.2817, allocations: 95.27 kB / 0.9562 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2817, allocations: 0 / 0.9562 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003135/0.282, allocations: 39.98 kB / 0.9562 GB, free: 2.371 MB / 0.7325 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.0003515/0.2824, allocations: 159.2 kB / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.2826, allocations: 80.36 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2826, allocations: 0 / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2828, allocations: 39.91 kB / 0.9565 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.283, allocations: 12.14 kB / 0.9565 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.2835, allocations: 210.9 kB / 0.9567 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.2838, allocations: 0.6883 MB / 0.9574 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.2838, allocations: 11.44 kB / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.2838, allocations: 0 / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of Templates: time 0.003499/0.2873, allocations: 1.579 MB / 0.9589 GB, free: 15.54 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches