Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001167/0.001167, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 66.88 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2453, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002484/0.2478, allocations: 1.501 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2489, allocations: 0.7478 MB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.249, allocations: 0 / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.249, allocations: 11.92 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.2491, allocations: 11.88 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.2496, allocations: 127.5 kB / 0.9535 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2497, allocations: 91.77 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.2497, allocations: 11.97 kB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.2498, allocations: 43.86 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.2499, allocations: 51.81 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2499, allocations: 8 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.2501, allocations: 103.8 kB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.2501, allocations: 15.98 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.2502, allocations: 35.8 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.2504, allocations: 159.6 kB / 0.954 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2504, allocations: 0 / 0.954 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2504, allocations: 0 / 0.954 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.2504, allocations: 0 / 0.954 GB, free: 5.148 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004776/0.2509, allocations: 470.5 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.479e-05/0.251, allocations: 8.031 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.251, allocations: 12.84 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.585e-05/0.2511, allocations: 176.2 kB / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.2511, allocations: 4.375 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2511, allocations: 8.375 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2513, allocations: 85.94 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-06/0.2514, allocations: 0 / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2514, allocations: 8 kB / 0.9547 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2514, allocations: 4 kB / 0.9547 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2515, allocations: 43.97 kB / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.252, allocations: 320.5 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.2521, allocations: 74.55 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.2522, allocations: 40.84 kB / 0.9552 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2523, allocations: 4.156 kB / 0.9552 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.2525, allocations: 107.3 kB / 0.9553 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2525, allocations: 0 / 0.9553 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004383/0.2529, allocations: 189.5 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.253, allocations: 59.41 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.2531, allocations: 121.8 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2531, allocations: 33.7 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.2531, allocations: 92.28 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.2532, allocations: 19.8 kB / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.2532, allocations: 33.66 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.2533, allocations: 322.8 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.2534, allocations: 27.98 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2535, allocations: 79.53 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2537, allocations: 109.9 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2537, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002505/0.2539, allocations: 137.4 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.254, allocations: 8.156 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.254, allocations: 4 kB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.254, allocations: 0 / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.2541, allocations: 19.88 kB / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2541, allocations: 7.984 kB / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.2542, allocations: 11.91 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2542, allocations: 4 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.343e-05/0.2543, allocations: 133.7 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.2543, allocations: 11.91 kB / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.2543, allocations: 12.36 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2543, allocations: 4 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2544, allocations: 0 / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2544, allocations: 0 / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.2549, allocations: 434.7 kB / 0.9571 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2549, allocations: 0 / 0.9571 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.2549, allocations: 7.984 kB / 0.9571 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2549, allocations: 4 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.255, allocations: 0 / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.255, allocations: 3.984 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.255, allocations: 3.938 kB / 0.9571 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.2553, allocations: 251.3 kB / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.2553, allocations: 81.02 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.2554, allocations: 7.984 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.2555, allocations: 8 kB / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2555, allocations: 11.92 kB / 0.9574 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2555, allocations: 4 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.2556, allocations: 99.02 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2556, allocations: 0 / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003012/0.2559, allocations: 43.98 kB / 0.9576 GB, free: 1.074 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002915/0.2562, allocations: 179.1 kB / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.2565, allocations: 87.89 kB / 0.9578 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2565, allocations: 3.938 kB / 0.9578 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.2566, allocations: 47.92 kB / 0.9579 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.2569, allocations: 22.36 kB / 0.9579 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.2572, allocations: 191.7 kB / 0.9581 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2575, allocations: 0.6885 MB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.2575, allocations: 11.98 kB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.2575, allocations: 15.38 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.2575, allocations: 4 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.003905/0.2614, allocations: 1.691 MB / 0.9604 GB, free: 14.11 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches