Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008474/0.0008474, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004764/0.004764, allocations: 171.4 kB / 16.27 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.072/2.072, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002884, allocations: 20 kB / 0.8161 GB, free: 13.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5238, allocations: 142.4 MB / 0.9552 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001024/0.5249, allocations: 0.8335 MB / 0.956 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.526, allocations: 1.223 MB / 0.9572 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.526, allocations: 2.969 kB / 0.9572 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.5261, allocations: 15.86 kB / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.5262, allocations: 18.3 kB / 0.9573 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.5266, allocations: 164.5 kB / 0.9574 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.5268, allocations: 247.8 kB / 0.9577 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.5269, allocations: 99.78 kB / 0.9578 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.26e-05/0.527, allocations: 85.36 kB / 0.9578 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.189e-05/0.5271, allocations: 81.3 kB / 0.9579 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.5271, allocations: 13.75 kB / 0.9579 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.5272, allocations: 23.77 kB / 0.9579 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.5272, allocations: 35.14 kB / 0.958 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.293e-05/0.5273, allocations: 114.8 kB / 0.9581 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.5275, allocations: 289.2 kB / 0.9584 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5275, allocations: 0 / 0.9584 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5275, allocations: 0 / 0.9584 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.5276, allocations: 0 / 0.9584 GB, free: 5.297 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006307/0.5282, allocations: 0.5195 MB / 0.9589 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.5282, allocations: 9.625 kB / 0.9589 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.5283, allocations: 52.23 kB / 0.9589 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.5283, allocations: 26.41 kB / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.5289, allocations: 325.5 kB / 0.9593 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.529, allocations: 17.94 kB / 0.9593 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.529, allocations: 27.06 kB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.5294, allocations: 221.9 kB / 0.9595 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5294, allocations: 0 / 0.9595 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.5294, allocations: 6.5 kB / 0.9595 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5294, allocations: 4.656 kB / 0.9595 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.5299, allocations: 169.8 kB / 0.9597 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.5306, allocations: 0.6474 MB / 0.9603 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.5309, allocations: 163.5 kB / 0.9605 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.5311, allocations: 88.02 kB / 0.9606 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.5312, allocations: 5.359 kB / 0.9606 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.5315, allocations: 165.3 kB / 0.9607 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.5315, allocations: 7.984 kB / 0.9607 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007626/0.5323, allocations: 277.8 kB / 0.961 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.5323, allocations: 83.53 kB / 0.9611 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5324, allocations: 167.4 kB / 0.9612 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5324, allocations: 29.05 kB / 0.9613 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.5325, allocations: 142.2 kB / 0.9614 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.5325, allocations: 46.33 kB / 0.9614 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.5326, allocations: 32.8 kB / 0.9615 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.5326, allocations: 325.7 kB / 0.9618 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.5329, allocations: 90.77 kB / 0.9619 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.5331, allocations: 138.8 kB / 0.962 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.5336, allocations: 232.8 kB / 0.9622 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5336, allocations: 0.7812 kB / 0.9622 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006286/0.5343, allocations: 302.2 kB / 0.9625 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.5343, allocations: 40.69 kB / 0.9626 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5343, allocations: 2.281 kB / 0.9626 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5343, allocations: 2.5 kB / 0.9626 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.5345, allocations: 45.53 kB / 0.9626 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5345, allocations: 5.25 kB / 0.9626 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.5348, allocations: 62.39 kB / 0.9627 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.5348, allocations: 19.33 kB / 0.9627 GB, free: 1.84 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 8.729e-05/0.5349, allocations: 131.8 kB / 0.9628 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.535, allocations: 19.47 kB / 0.9628 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.535, allocations: 25.08 kB / 0.9629 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.535, allocations: 1.281 kB / 0.9629 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.535, allocations: 1.312 kB / 0.9629 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.535, allocations: 0 / 0.9629 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.5352, allocations: 265.6 kB / 0.9631 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5352, allocations: 5.031 kB / 0.9631 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.5354, allocations: 37.62 kB / 0.9632 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5354, allocations: 8.938 kB / 0.9632 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5354, allocations: 6.312 kB / 0.9632 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5354, allocations: 1.094 kB / 0.9632 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5354, allocations: 1.188 kB / 0.9632 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.5359, allocations: 243.8 kB / 0.9634 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.5359, allocations: 92.64 kB / 0.9635 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.536, allocations: 7.875 kB / 0.9635 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5361, allocations: 18.33 kB / 0.9635 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.5362, allocations: 20.84 kB / 0.9635 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5362, allocations: 15.36 kB / 0.9636 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.5362, allocations: 117.8 kB / 0.9637 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5362, allocations: 4 kB / 0.9637 GB, free: 1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002392/0.5365, allocations: 45.62 kB / 0.9637 GB, free: 0.9883 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006599/0.5371, allocations: 0.7927 MB / 0.9645 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000565/0.5377, allocations: 272 kB / 0.9647 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5377, allocations: 4.25 kB / 0.9647 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.538, allocations: 95.84 kB / 0.9648 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.5382, allocations: 31 kB / 0.9649 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.541, allocations: 2.207 MB / 0.967 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.5413, allocations: 0.7338 MB / 0.9677 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.5414, allocations: 20.55 kB / 0.9678 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.5415, allocations: 63.47 kB / 0.9678 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5415, allocations: 1 kB / 0.9678 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.5647, allocations: 3.982 MB / 0.9717 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.5649, allocations: 248.2 kB / 0.9719 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.155, allocations: 3.281 kB / 0.972 GB, free: 11.45 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches