Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009912, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 181.7 kB / 16.92 MB, free: 6.652 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.32 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.403/2.403, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.669, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001539/0.6706, allocations: 1.222 MB / 0.9569 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.6719, allocations: 0.7368 MB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.672, allocations: 1.219 kB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.672, allocations: 3.938 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.6721, allocations: 12.83 kB / 0.9576 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.6726, allocations: 106.2 kB / 0.9577 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.6728, allocations: 89.12 kB / 0.9578 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.6729, allocations: 13.45 kB / 0.9578 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.046e-05/0.673, allocations: 43.69 kB / 0.9579 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.673, allocations: 41.67 kB / 0.9579 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.6731, allocations: 3.531 kB / 0.9579 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.6732, allocations: 86.34 kB / 0.958 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.6733, allocations: 15.7 kB / 0.958 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.6734, allocations: 72.31 kB / 0.9581 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.6735, allocations: 106.6 kB / 0.9582 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6735, allocations: 0 / 0.9582 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6735, allocations: 1.969 kB / 0.9582 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.6735, allocations: 3.938 kB / 0.9582 GB, free: 5.848 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004884/0.674, allocations: 446.3 kB / 0.9586 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6741, allocations: 11.86 kB / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.6741, allocations: 9.969 kB / 0.9586 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.227e-05/0.6742, allocations: 180.1 kB / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.6743, allocations: 4.156 kB / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.6743, allocations: 9.531 kB / 0.9588 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.6745, allocations: 97.34 kB / 0.9589 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6745, allocations: 0 / 0.9589 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6745, allocations: 9 kB / 0.9589 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6746, allocations: 5.031 kB / 0.9589 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.6747, allocations: 51.03 kB / 0.959 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.6752, allocations: 320.3 kB / 0.9593 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.6754, allocations: 72.31 kB / 0.9593 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.6755, allocations: 47.02 kB / 0.9594 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.6755, allocations: 1.375 kB / 0.9594 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.6757, allocations: 94.17 kB / 0.9595 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.6757, allocations: 4 kB / 0.9595 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004616/0.6762, allocations: 197.4 kB / 0.9597 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.6763, allocations: 54.44 kB / 0.9597 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.6763, allocations: 127.4 kB / 0.9598 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.6764, allocations: 31.23 kB / 0.9599 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.6764, allocations: 99.23 kB / 0.96 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.6764, allocations: 22.7 kB / 0.96 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.6765, allocations: 22.75 kB / 0.96 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.6765, allocations: 325.4 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.6766, allocations: 27.23 kB / 0.9604 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.6767, allocations: 83.84 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.6769, allocations: 117.9 kB / 0.9605 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6769, allocations: 0 / 0.9605 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002365/0.6771, allocations: 142.1 kB / 0.9607 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6772, allocations: 9.531 kB / 0.9607 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6772, allocations: 1.375 kB / 0.9607 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6772, allocations: 2.75 kB / 0.9607 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.6773, allocations: 12.38 kB / 0.9607 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6773, allocations: 14.66 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.6774, allocations: 17.34 kB / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.6774, allocations: 5.875 kB / 0.9607 GB, free: 3.484 MB / 0.7169 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 7.818e-05/0.6775, allocations: 130.1 kB / 0.9609 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.6775, allocations: 8.031 kB / 0.9609 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.6775, allocations: 13.73 kB / 0.9609 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6775, allocations: 5.312 kB / 0.9609 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.6775, allocations: 0 / 0.9609 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6776, allocations: 0 / 0.9609 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.678, allocations: 435.8 kB / 0.9613 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.678, allocations: 3.938 kB / 0.9613 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.6781, allocations: 9.438 kB / 0.9613 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6781, allocations: 3.984 kB / 0.9613 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6781, allocations: 1.375 kB / 0.9613 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6781, allocations: 1.375 kB / 0.9613 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6781, allocations: 3.938 kB / 0.9613 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.6784, allocations: 259 kB / 0.9616 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.6785, allocations: 87.7 kB / 0.9617 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.6785, allocations: 1.375 kB / 0.9617 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.6786, allocations: 12.11 kB / 0.9617 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.6786, allocations: 6.688 kB / 0.9617 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.6787, allocations: 6.734 kB / 0.9617 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.6787, allocations: 101.3 kB / 0.9618 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6787, allocations: 0 / 0.9618 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003166/0.679, allocations: 43.61 kB / 0.9618 GB, free: 2.516 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: 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.0003132/0.6794, allocations: 166.1 kB / 0.962 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.6796, allocations: 101.3 kB / 0.9621 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6796, allocations: 0 / 0.9621 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.6798, allocations: 49.56 kB / 0.9621 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.6801, allocations: 14.8 kB / 0.9621 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.6805, allocations: 271.6 kB / 0.9624 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.6806, allocations: 0.6928 MB / 0.9631 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.6807, allocations: 15.28 kB / 0.9631 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6807, allocations: 0 / 0.9631 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.003517/0.6842, allocations: 1.763 MB / 0.9648 GB, free: 484 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches