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.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.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.005557/0.005557, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001268/0.001269, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.469/2.469, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5841, allocations: 140.3 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002662/0.5868, allocations: 1.55 MB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.5881, allocations: 0.7285 MB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.5882, allocations: 0 / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.5883, allocations: 7.922 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.5883, allocations: 13.39 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.5888, allocations: 101 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.738e-05/0.5889, allocations: 72.11 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.589, allocations: 13.17 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.5891, allocations: 26.14 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.5891, allocations: 33.09 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.5892, allocations: 7.75 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.5893, allocations: 92.69 kB / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.5894, allocations: 18.84 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.5894, allocations: 25.8 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.5896, allocations: 99.25 kB / 0.9523 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5896, allocations: 1.562 kB / 0.9523 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5896, allocations: 0 / 0.9523 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.5896, allocations: 0 / 0.9523 GB, free: 7.148 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.000534/0.5902, allocations: 448.1 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5902, allocations: 10.69 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.5903, allocations: 7.609 kB / 0.9527 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.5903, allocations: 176.1 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.5904, allocations: 11.69 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.5904, allocations: 3.094 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.5906, allocations: 67.81 kB / 0.953 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.5906, allocations: 1.281 kB / 0.953 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5906, allocations: 4 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5906, allocations: 1.5 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.5908, allocations: 39.81 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.5912, allocations: 302 kB / 0.9533 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.5913, allocations: 44 kB / 0.9534 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.5914, allocations: 36.06 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.5915, allocations: 4.062 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.5917, allocations: 78.12 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.5917, allocations: 0 / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000402/0.5921, allocations: 138.5 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.5921, allocations: 54.41 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.5922, allocations: 124 kB / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.5922, allocations: 30.86 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.5923, allocations: 87.08 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.5923, allocations: 18.73 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.5923, allocations: 29.33 kB / 0.9539 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.5924, allocations: 320.8 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.5925, allocations: 29.36 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.5926, allocations: 57.42 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.5927, allocations: 100.5 kB / 0.9544 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5927, allocations: 0 / 0.9544 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002088/0.5929, allocations: 113.6 kB / 0.9545 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.593, allocations: 9.375 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.593, allocations: 1.188 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.593, allocations: 2.156 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.5931, allocations: 21.73 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5931, allocations: 2.625 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.5932, allocations: 7.969 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.5932, allocations: 3.75 kB / 0.9546 GB, free: 4.934 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.606e-05/0.5933, allocations: 123 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.5933, allocations: 11.48 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.5933, allocations: 9.625 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5933, allocations: 5.312 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5933, allocations: 4 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5933, allocations: 1.156 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.5937, allocations: 377.4 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5937, allocations: 0 / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.5938, allocations: 7.672 kB / 0.9551 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5938, allocations: 0 / 0.9551 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.5938, allocations: 5.562 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5938, allocations: 1.656 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5938, allocations: 7.938 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.5941, allocations: 204.3 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.5941, allocations: 86.42 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.5941, allocations: 1.5 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.5942, allocations: 2.719 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.5943, allocations: 18.52 kB / 0.9554 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.5943, allocations: 5.719 kB / 0.9554 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.5943, allocations: 93.36 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5943, allocations: 0 / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000319/0.5947, allocations: 39.95 kB / 0.9555 GB, free: 4.02 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.0003343/0.595, allocations: 162.5 kB / 0.9557 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.5952, allocations: 76.8 kB / 0.9558 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5952, allocations: 0 / 0.9558 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5954, allocations: 36.5 kB / 0.9558 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.5957, allocations: 4.75 kB / 0.9558 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.5961, allocations: 234.2 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.5962, allocations: 0.6939 MB / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.5962, allocations: 10.22 kB / 0.9567 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.5962, allocations: 0 / 0.9567 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of Templates: time 0.003311/0.5996, allocations: 1.572 MB / 0.9582 GB, free: 2.117 MB / 0.7169 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