Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001482/0.001482, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001645/0.001645, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.383/2.383, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 60.52 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2589, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002515/0.2614, allocations: 1.507 MB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2626, allocations: 0.7531 MB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.2627, allocations: 0 / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.2627, allocations: 11.92 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.2628, allocations: 15.86 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2633, allocations: 127.6 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2634, allocations: 91.7 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.2635, allocations: 15.98 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.2636, allocations: 43.84 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.2637, allocations: 43.83 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.2637, allocations: 8 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.2639, allocations: 95.91 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.2639, allocations: 23.86 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.264, allocations: 39.84 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.2642, allocations: 159.5 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2642, allocations: 0 / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2642, allocations: 0 / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.2642, allocations: 0 / 1.022 GB, free: 6.922 MB / 0.795 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.0005785/0.2648, allocations: 458.6 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.2649, allocations: 12.62 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.2649, allocations: 8.844 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.265, allocations: 172.3 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2651, allocations: 8.375 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.2651, allocations: 8.312 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.2653, allocations: 89.94 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2653, allocations: 3.984 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2653, allocations: 4 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2654, allocations: 4 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2655, allocations: 43.97 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.266, allocations: 328.5 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2662, allocations: 74.55 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2663, allocations: 44.78 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2663, allocations: 0 / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.2665, allocations: 99.38 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.2666, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0004691/0.267, allocations: 181.8 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2671, allocations: 63.48 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.2672, allocations: 132.3 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2672, allocations: 29.7 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.2673, allocations: 96.28 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2673, allocations: 11.81 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.2673, allocations: 37.64 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2675, allocations: 326.8 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.2676, allocations: 31.98 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.2677, allocations: 74.12 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.2679, allocations: 109.9 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2679, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002512/0.2681, allocations: 133.4 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2682, allocations: 12.14 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2682, allocations: 4 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2682, allocations: 0 / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.2683, allocations: 15.94 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2683, allocations: 7.984 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.2684, allocations: 7.906 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2684, allocations: 4 kB / 1.024 GB, free: 4.059 MB / 0.795 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.11e-05/0.2685, allocations: 137 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.2685, allocations: 11.91 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.2686, allocations: 12.36 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2686, allocations: 4 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2686, allocations: 0 / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2686, allocations: 0 / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.2691, allocations: 426.4 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2691, allocations: 96 / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.2692, allocations: 7.984 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2692, allocations: 7.984 kB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2692, allocations: 8 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.2692, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2693, allocations: 11.88 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.2696, allocations: 247.4 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.2696, allocations: 85.02 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.2697, allocations: 0 / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2698, allocations: 15.98 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2698, allocations: 11.92 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2698, allocations: 0 / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.2699, allocations: 99.27 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2699, allocations: 0 / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003154/0.2702, allocations: 47.98 kB / 1.025 GB, free: 2.852 MB / 0.795 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.0002899/0.2705, allocations: 162.5 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.2708, allocations: 91.89 kB / 1.025 GB, free: 2.609 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2708, allocations: 0 / 1.025 GB, free: 2.609 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2709, allocations: 43.92 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.2712, allocations: 28.44 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.2716, allocations: 191.8 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2719, allocations: 0.6933 MB / 1.026 GB, free: 1.605 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.2719, allocations: 7.984 kB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.2719, allocations: 11.44 kB / 1.026 GB, free: 1.586 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.272, allocations: 4 kB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of Templates: time 0.004286/0.2762, allocations: 1.696 MB / 1.028 GB, free: 15.9 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches