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.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.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.001576/0.001576, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001998/0.001999, allocations: 194.9 kB / 16.14 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.308/2.308, allocations: 390.2 MB / 0.6642 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6748/0.6761, allocations: 140.4 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002644/0.6787, allocations: 1.565 MB / 0.9504 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.6802, allocations: 0.7449 MB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.6803, allocations: 5.125 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.6803, allocations: 0 / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.613e-05/0.6804, allocations: 18.23 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.681, allocations: 109.2 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.6811, allocations: 85.81 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.6813, allocations: 21.28 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.6814, allocations: 36.59 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.6815, allocations: 41.98 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.6815, allocations: 7.875 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.6817, allocations: 90.59 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.6817, allocations: 19.48 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.6818, allocations: 39.16 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.6821, allocations: 146.7 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.6821, allocations: 3.984 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6821, allocations: 1.25 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6821, allocations: 0 / 0.9518 GB, free: 6.977 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.0007194/0.6829, allocations: 462.5 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.6829, allocations: 10.38 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.683, allocations: 9.25 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.6831, allocations: 176.6 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.6832, allocations: 11.62 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.6832, allocations: 4.875 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.6835, allocations: 91.25 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6835, allocations: 0 / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.6835, allocations: 9.422 kB / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.6835, allocations: 5.625 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.6837, allocations: 44.16 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.6843, allocations: 326.7 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.6845, allocations: 65.3 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.6846, allocations: 43.88 kB / 0.953 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.6846, allocations: 2.031 kB / 0.953 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.6848, allocations: 98.56 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.6849, allocations: 1.656 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004993/0.6854, allocations: 183.5 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.6854, allocations: 63.05 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.6855, allocations: 122.8 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.6855, allocations: 31.66 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.6856, allocations: 90.75 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.6856, allocations: 23.75 kB / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.6857, allocations: 32.36 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.6857, allocations: 324.3 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.6858, allocations: 31.58 kB / 0.9539 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.6859, allocations: 71.33 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.6861, allocations: 111.8 kB / 0.9541 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6861, allocations: 1.562 kB / 0.9541 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002424/0.6864, allocations: 131.1 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6864, allocations: 6.031 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6864, allocations: 9.141 kB / 0.9542 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.6864, allocations: 2.25 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.6866, allocations: 15.94 kB / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.6866, allocations: 2.344 kB / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.6866, allocations: 13.02 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.6867, allocations: 9.188 kB / 0.9543 GB, free: 4.613 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 9.476e-05/0.6868, allocations: 124.1 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.6868, allocations: 11.78 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.6868, allocations: 13.42 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.6868, allocations: 1.406 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.6869, allocations: 1.125 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6869, allocations: 0 / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.6874, allocations: 433 kB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6874, allocations: 9.125 kB / 0.9549 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.6874, allocations: 7.438 kB / 0.9549 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6875, allocations: 9.547 kB / 0.9549 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.6875, allocations: 4.453 kB / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6875, allocations: 1.375 kB / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6875, allocations: 3.938 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.6878, allocations: 249.5 kB / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.6878, allocations: 88.05 kB / 0.9552 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.6879, allocations: 5.344 kB / 0.9552 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.688, allocations: 10.27 kB / 0.9552 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.688, allocations: 11.7 kB / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.688, allocations: 2.438 kB / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.599e-05/0.6881, allocations: 97.02 kB / 0.9553 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6881, allocations: 1.156 kB / 0.9553 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003113/0.6884, allocations: 46.83 kB / 0.9554 GB, free: 3.633 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.0003623/0.6888, allocations: 158.7 kB / 0.9555 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.6891, allocations: 87.11 kB / 0.9556 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6891, allocations: 1.031 kB / 0.9556 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.6892, allocations: 49.89 kB / 0.9557 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.6895, allocations: 18.3 kB / 0.9557 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.6899, allocations: 210.5 kB / 0.9559 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.69, allocations: 0.6905 MB / 0.9565 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.6901, allocations: 11.27 kB / 0.9566 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.6901, allocations: 12 kB / 0.9566 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6901, allocations: 3.938 kB / 0.9566 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.005383/0.6955, allocations: 1.602 MB / 0.9581 GB, free: 1.727 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/jenkins/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