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.001536/0.001536, allocations: 100.1 kB / 15.88 MB, free: 8 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.001796/0.001796, allocations: 199.3 kB / 16.79 MB, free: 6.828 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 / 240.5 MB, free: 4.52 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.347/2.347, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6384, allocations: 140.4 MB / 0.9496 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002666/0.6411, allocations: 1.562 MB / 0.9511 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.6423, allocations: 0.7518 MB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.6424, allocations: 1.062 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.6424, allocations: 3.938 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.6426, allocations: 9.422 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.643, allocations: 114.2 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.6431, allocations: 85.44 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.6432, allocations: 17.09 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.6433, allocations: 36.86 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.6433, allocations: 46.47 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.6434, allocations: 4.031 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.6435, allocations: 90.84 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.6436, allocations: 14.45 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.6436, allocations: 47.56 kB / 0.9523 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.6438, allocations: 114.1 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6438, allocations: 1.062 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6438, allocations: 0 / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.6438, allocations: 0 / 0.9524 GB, free: 6.867 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.0004887/0.6443, allocations: 459.2 kB / 0.9528 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.6444, allocations: 8.906 kB / 0.9528 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.6444, allocations: 12.75 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.6445, allocations: 180.9 kB / 0.953 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.6445, allocations: 8.062 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.6445, allocations: 8.531 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.6447, allocations: 88 kB / 0.9531 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6448, allocations: 3.938 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.6448, allocations: 0 / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6448, allocations: 1.406 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.6449, allocations: 48.41 kB / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.6454, allocations: 324 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.6456, allocations: 64.7 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.922e-05/0.6457, allocations: 45.2 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.6457, allocations: 5.375 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.6459, allocations: 94.45 kB / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.6459, allocations: 0 / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004591/0.6464, allocations: 185.7 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.6464, allocations: 62.42 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.6465, allocations: 123.5 kB / 0.954 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.6465, allocations: 30.95 kB / 0.9541 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.6466, allocations: 91.12 kB / 0.9542 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.6466, allocations: 31.08 kB / 0.9542 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.6466, allocations: 31.8 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.6467, allocations: 325.3 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.6468, allocations: 28.88 kB / 0.9546 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-05/0.6468, allocations: 77.31 kB / 0.9546 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.647, allocations: 108.9 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.647, allocations: 4 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000226/0.6472, allocations: 135.8 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6473, allocations: 6.375 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6473, allocations: 1.406 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6473, allocations: 2.875 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.6474, allocations: 14.33 kB / 0.9549 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6474, allocations: 3.5 kB / 0.9549 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.6475, allocations: 17 kB / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.6475, allocations: 3.688 kB / 0.9549 GB, free: 4.504 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.468e-05/0.6476, allocations: 125.6 kB / 0.955 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.6476, allocations: 12.95 kB / 0.955 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.6476, allocations: 9.594 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.6476, allocations: 1.188 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6477, allocations: 0 / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6477, allocations: 5.156 kB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.6481, allocations: 440.3 kB / 0.9555 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6481, allocations: 1.062 kB / 0.9555 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.6482, allocations: 7.641 kB / 0.9555 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6482, allocations: 0 / 0.9555 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6482, allocations: 2.344 kB / 0.9555 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6482, allocations: 4 kB / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6482, allocations: 9.094 kB / 0.9555 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.6485, allocations: 245.4 kB / 0.9557 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.6486, allocations: 91.42 kB / 0.9558 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.6486, allocations: 9.109 kB / 0.9558 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6487, allocations: 7.344 kB / 0.9558 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.6488, allocations: 10.39 kB / 0.9559 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6488, allocations: 3.562 kB / 0.9559 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.6488, allocations: 105.3 kB / 0.956 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6488, allocations: 0 / 0.956 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003267/0.6492, allocations: 43.02 kB / 0.956 GB, free: 3.523 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.0003191/0.6495, allocations: 156.1 kB / 0.9561 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.6497, allocations: 92.36 kB / 0.9562 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6498, allocations: 0.9375 kB / 0.9562 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.6499, allocations: 54.92 kB / 0.9563 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6502, allocations: 15.03 kB / 0.9563 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.6506, allocations: 244.3 kB / 0.9565 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.6508, allocations: 0.6918 MB / 0.9572 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.6508, allocations: 11.41 kB / 0.9572 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6508, allocations: 0 / 0.9572 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.003641/0.6544, allocations: 1.765 MB / 0.9589 GB, free: 1.508 MB / 0.7169 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 -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