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.00124/0.00124, allocations: 101.4 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.001202/0.001202, 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.155/2.155, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 65.61 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.249, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00368/0.2527, allocations: 1.486 MB / 0.9517 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2541, allocations: 0.7206 MB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.2542, allocations: 0 / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.2542, allocations: 11.86 kB / 0.9524 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.963e-05/0.2543, allocations: 19.86 kB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.2549, allocations: 107.6 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.255, allocations: 75.77 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.2551, allocations: 15.97 kB / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2552, allocations: 35.86 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.2553, allocations: 35.83 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.2553, allocations: 4 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2555, allocations: 99.84 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.2556, allocations: 11.98 kB / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.2556, allocations: 35.73 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.2559, allocations: 139.9 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2559, allocations: 0 / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2559, allocations: 0 / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2559, allocations: 0 / 0.953 GB, free: 6.051 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.0006327/0.2566, allocations: 446.6 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2566, allocations: 12.03 kB / 0.9534 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.2567, allocations: 8.844 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2568, allocations: 168.3 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.2568, allocations: 8.375 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2569, allocations: 8.359 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2571, allocations: 77.89 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2571, allocations: 0 / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2571, allocations: 0 / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2571, allocations: 4 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.2573, allocations: 43.95 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.2578, allocations: 292.7 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.2579, allocations: 46.55 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.258, allocations: 40.91 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.258, allocations: 4 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.2583, allocations: 79.38 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.2583, allocations: 0 / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004214/0.2587, allocations: 133.6 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.2588, allocations: 55.41 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.2589, allocations: 133.7 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2589, allocations: 29.7 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2589, allocations: 84.14 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.259, allocations: 23.73 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.259, allocations: 25.72 kB / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2591, allocations: 326.8 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.2592, allocations: 19.98 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.586e-05/0.2593, allocations: 65.12 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2595, allocations: 85.08 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2595, allocations: 0 / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002456/0.2598, allocations: 113.4 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2598, allocations: 4 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2598, allocations: 4 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2598, allocations: 0 / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.2599, allocations: 24.08 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2599, allocations: 4 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.26, allocations: 15.83 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.26, allocations: 4 kB / 0.9553 GB, free: 3.438 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 0.0001057/0.2601, allocations: 121.7 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.2602, allocations: 4 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.2602, allocations: 16.31 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2602, allocations: 0 / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2602, allocations: 8 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2602, allocations: 4.031 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.2607, allocations: 382.4 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2607, allocations: 3.984 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.2608, allocations: 4 kB / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2608, allocations: 0 / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2608, allocations: 0 / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2608, allocations: 3.938 kB / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.2608, allocations: 11.88 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.2611, allocations: 203.5 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.2611, allocations: 81.02 kB / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.2612, allocations: 4 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.2613, allocations: 7.984 kB / 0.9561 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.2613, allocations: 7.938 kB / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2613, allocations: 3.984 kB / 0.9561 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.2614, allocations: 95.94 kB / 0.9562 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2614, allocations: 0 / 0.9562 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003187/0.2617, allocations: 39.98 kB / 0.9562 GB, free: 2.355 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.000335/0.2621, allocations: 158 kB / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.2623, allocations: 75.83 kB / 0.9565 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2624, allocations: 0 / 0.9565 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2625, allocations: 39.95 kB / 0.9565 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2627, allocations: 14.48 kB / 0.9565 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.2632, allocations: 210.9 kB / 0.9567 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2635, allocations: 0.6922 MB / 0.9574 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.2635, allocations: 15.44 kB / 0.9574 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2635, allocations: 0 / 0.9574 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.003439/0.2669, allocations: 1.581 MB / 0.9589 GB, free: 15.52 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches