Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8557/0.8557, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.209e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.00174/0.001762, allocations: 1.067 MB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003029, allocations: 1.264 MB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.003124, allocations: 3.938 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/0.003173, allocations: 19.73 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.00328, allocations: 31.66 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.003753, allocations: 194 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.003987, allocations: 271.9 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.00414, allocations: 80.28 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.004304, allocations: 155.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.004421, allocations: 95.66 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.004456, allocations: 28 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.004517, allocations: 36 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.004554, allocations: 51.81 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.004624, allocations: 79.81 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.00492, allocations: 358.8 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.004926, allocations: 4 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.273e-06/0.004927, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.004932, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 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.00065/0.005582, allocations: 479 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.005623, allocations: 13.34 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.00566, allocations: 46.73 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.005711, allocations: 24.8 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.006127, allocations: 262.1 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.006148, allocations: 16.38 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.006175, allocations: 24.31 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.006459, allocations: 207.8 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006467, allocations: 4.188 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.006484, allocations: 12.12 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.00649, allocations: 7.938 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.006758, allocations: 151.9 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.007418, allocations: 0.5619 MB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.007663, allocations: 149.1 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.007785, allocations: 77.75 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.007808, allocations: 0 / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.00809, allocations: 158.6 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.008091, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.0004953/0.008587, allocations: 257.4 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.008628, allocations: 85.11 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.008736, allocations: 175.2 kB / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.008759, allocations: 29.7 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.008829, allocations: 136.5 kB / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.008859, allocations: 43.64 kB / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.008928, allocations: 57.69 kB / 1.006 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.009007, allocations: 330.8 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.009185, allocations: 109.6 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.00935, allocations: 161 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.009619, allocations: 214.6 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009623, allocations: 8 kB / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003911/0.01001, allocations: 317.2 kB / 1.007 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.01005, allocations: 37.64 kB / 1.007 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01005, allocations: 0 / 1.007 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.01007, allocations: 4.125 kB / 1.007 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01019, allocations: 39.91 kB / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.0102, allocations: 4 kB / 1.007 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01032, allocations: 51.78 kB / 1.007 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.01034, allocations: 11.98 kB / 1.007 GB, free: 5.25 MB / 0.9636 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 9.172e-05/0.01043, allocations: 129.8 kB / 1.008 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.01045, allocations: 19.91 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.01049, allocations: 25.45 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01049, allocations: 7.938 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.0105, allocations: 0 / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0105, allocations: 3.938 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.01066, allocations: 228.5 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01066, allocations: 0 / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.01075, allocations: 31.97 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01075, allocations: 0 / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01076, allocations: 8 kB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01076, allocations: 0 / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01076, allocations: 0 / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.01106, allocations: 231.7 kB / 1.008 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.01108, allocations: 11.91 kB / 1.008 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.01109, allocations: 4 kB / 1.008 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.01115, allocations: 23.97 kB / 1.008 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.01121, allocations: 31.89 kB / 1.008 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01123, allocations: 4 kB / 1.008 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.01129, allocations: 121.2 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01129, allocations: 0 / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001878/0.01148, allocations: 55.81 kB / 1.008 GB, free: 4.25 MB / 0.9636 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.0005589/0.01203, allocations: 0.7693 MB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.01242, allocations: 274.7 kB / 1.009 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01242, allocations: 0 / 1.009 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.01256, allocations: 84.12 kB / 1.009 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.01275, allocations: 32.73 kB / 1.009 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.01481, allocations: 2.239 MB / 1.012 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.723e-05/0.01488, allocations: 124.9 kB / 1.012 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.306e-05/0.01498, allocations: 25.48 kB / 1.012 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.01506, allocations: 60.48 kB / 1.012 GB, free: 452 kB / 0.9636 GB Notification: Performance of SimCode: time 8.11e-07/0.01506, allocations: 0 / 1.012 GB, free: 452 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.03522, allocations: 5.326 MB / 1.017 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.77, allocations: 11.91 kB / 1.017 GB, free: 11.34 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.817010913044214]