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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004184/0.004184, allocations: 95.64 kB / 15.73 MB, free: 6.047 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.00124/0.00124, allocations: 206.3 kB / 16.68 MB, free: 5.973 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 482.4 MB / 0.7548 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001939, allocations: 63.91 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2813, allocations: 162.2 MB / 1.241 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002355/0.2836, allocations: 1.135 MB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2853, allocations: 1.252 MB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.2853, allocations: 4 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.208e-05/0.2854, allocations: 23.67 kB / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2855, allocations: 27.67 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.286, allocations: 190.9 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.2864, allocations: 263.9 kB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2866, allocations: 111.8 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.2867, allocations: 111.6 kB / 1.245 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.2869, allocations: 119.5 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.2869, allocations: 28 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.287, allocations: 47.98 kB / 1.245 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.2871, allocations: 47.84 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2872, allocations: 119.4 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.2876, allocations: 322.7 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2876, allocations: 4 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2876, allocations: 0 / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2876, allocations: 0 / 1.245 GB, free: 6.336 MB / 0.9981 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.0009184/0.2886, allocations: 0.543 MB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2886, allocations: 8.031 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.2887, allocations: 54.73 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.2887, allocations: 28.8 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.2895, allocations: 309.7 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.2895, allocations: 12.38 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.2896, allocations: 20.38 kB / 1.246 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.2901, allocations: 223.2 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2901, allocations: 7.969 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.2901, allocations: 8 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.2901, allocations: 4 kB / 1.246 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.2907, allocations: 160.3 kB / 1.247 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.2916, allocations: 0.6368 MB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.292, allocations: 157.1 kB / 1.247 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.2923, allocations: 81.75 kB / 1.247 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2923, allocations: 4 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.2927, allocations: 150.5 kB / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.2927, allocations: 0 / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0009106/0.2937, allocations: 269.7 kB / 1.248 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.2937, allocations: 85.09 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2939, allocations: 174.2 kB / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.2939, allocations: 29.7 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.294, allocations: 132.4 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.2941, allocations: 55.59 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2942, allocations: 57.69 kB / 1.248 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2944, allocations: 326.8 kB / 1.249 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.2947, allocations: 79.92 kB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.295, allocations: 129.1 kB / 1.249 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.2956, allocations: 222.6 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2956, allocations: 0 / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007597/0.2964, allocations: 279 kB / 1.249 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.2964, allocations: 41.83 kB / 1.249 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2964, allocations: 0 / 1.249 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2964, allocations: 7.938 kB / 1.249 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.2967, allocations: 31.97 kB / 1.249 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2967, allocations: 7.938 kB / 1.249 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.297, allocations: 51.83 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.297, allocations: 8 kB / 1.249 GB, free: 1.676 MB / 0.9981 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 0.0001281/0.2972, allocations: 135.6 kB / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.2972, allocations: 15.91 kB / 1.25 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.2972, allocations: 25.39 kB / 1.25 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2973, allocations: 3.938 kB / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2973, allocations: 3.938 kB / 1.25 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2973, allocations: 4 kB / 1.25 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.2976, allocations: 265.4 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2976, allocations: 7.938 kB / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2978, allocations: 31.97 kB / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2978, allocations: 4 kB / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2978, allocations: 0 / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2978, allocations: 3.938 kB / 1.25 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2978, allocations: 4 kB / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.2984, allocations: 229.6 kB / 1.25 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.2985, allocations: 89.02 kB / 1.25 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2985, allocations: 4.312 kB / 1.25 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.2987, allocations: 19.91 kB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.2988, allocations: 27.97 kB / 1.25 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2988, allocations: 12 kB / 1.25 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001002/0.2989, allocations: 120.2 kB / 1.25 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2989, allocations: 0 / 1.25 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002665/0.2992, allocations: 47.89 kB / 1.25 GB, free: 0.5469 MB / 0.9981 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.4864/0.7856, allocations: 0.7763 MB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.7864, allocations: 254.9 kB / 1.251 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7864, allocations: 1.688 kB / 1.251 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.7867, allocations: 88.39 kB / 1.251 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.787, allocations: 34.05 kB / 1.252 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.7899, allocations: 2.103 MB / 1.254 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.79, allocations: 0.7334 MB / 1.254 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00012/0.7902, allocations: 31.16 kB / 1.254 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/0.7903, allocations: 62.19 kB / 1.254 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.7903, allocations: 0 / 1.254 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.8165, allocations: 4.48 MB / 1.259 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.772, allocations: 13.5 kB / 1.259 GB, free: 12.12 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/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) Reference file matches