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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001854/0.001854, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001576/0.001576, allocations: 195.1 kB / 16.26 MB, free: 6.152 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.552/1.552, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.909/2.909, allocations: 437 MB / 0.7101 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6501, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002899/0.653, allocations: 1.573 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.6549, allocations: 0.7364 MB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.655, allocations: 3.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.6551, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.6552, allocations: 19.8 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.6559, allocations: 111.8 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.6562, allocations: 95.75 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.6564, allocations: 16 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.6565, allocations: 39.84 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.6566, allocations: 43.83 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.6567, allocations: 8 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.657, allocations: 103.8 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.657, allocations: 15.98 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.161e-05/0.6571, allocations: 39.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.6574, allocations: 149.6 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6575, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6575, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6575, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 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.0008405/0.6583, allocations: 466.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.6584, allocations: 15.97 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.6585, allocations: 8.844 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.6586, allocations: 180.1 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.6587, allocations: 8.375 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.6587, allocations: 8.359 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.659, allocations: 93.89 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.659, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.659, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.659, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.6592, allocations: 47.95 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.66, allocations: 328.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.6601, allocations: 62.55 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.6603, allocations: 44.84 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.6603, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.6606, allocations: 91.39 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.6606, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005429/0.6612, allocations: 185.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.6612, allocations: 55.41 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.6614, allocations: 129.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.6614, allocations: 25.7 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.6615, allocations: 96.36 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.6616, allocations: 23.66 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.6616, allocations: 34.08 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002555/0.6619, allocations: 326.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.662, allocations: 27.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.6621, allocations: 69.98 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.6624, allocations: 109.8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6624, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000274/0.6627, allocations: 133.4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.6627, allocations: 8 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6627, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.6627, allocations: 11.94 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.6629, allocations: 19.92 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6629, allocations: 4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.663, allocations: 11.84 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.663, allocations: 7.984 kB / 1.022 GB, free: 12.87 MB / 0.7794 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 0.0001194/0.6631, allocations: 134.7 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.6631, allocations: 4.094 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.6632, allocations: 16.36 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6632, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6632, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6632, allocations: 3.984 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.6638, allocations: 438.4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6639, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.6639, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6639, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.664, allocations: 7.984 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.664, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.664, allocations: 7.922 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.6644, allocations: 247.3 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.6644, allocations: 88.95 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.6645, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6646, allocations: 11.98 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.6646, allocations: 7.938 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.6646, allocations: 4.172 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.436e-05/0.6647, allocations: 95.27 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6647, allocations: 3.938 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000332/0.665, allocations: 40 kB / 1.023 GB, free: 11.67 MB / 0.7794 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.0004301/0.6655, allocations: 166.4 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.6658, allocations: 99.81 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6659, allocations: 320 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.666, allocations: 55.92 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.6663, allocations: 13.11 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.6668, allocations: 214 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.6672, allocations: 0.6965 MB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.6672, allocations: 4 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.6672, allocations: 19.36 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6673, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.005184/0.6724, allocations: 1.647 MB / 1.026 GB, free: 8.734 MB / 0.7794 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=400 -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/jenkins/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