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.007103/0.007103, allocations: 95.23 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.00214/0.00214, allocations: 206.4 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.525/2.525, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.91 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.259, allocations: 162.3 MB / 1.242 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.00205/0.261, allocations: 1.129 MB / 1.243 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2625, allocations: 1.256 MB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.2625, allocations: 0 / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.837e-05/0.2626, allocations: 19.73 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.2627, allocations: 27.67 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.2631, allocations: 186.9 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.2634, allocations: 279.8 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.2636, allocations: 107.8 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2638, allocations: 103.7 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2639, allocations: 123.5 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.264, allocations: 28 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.2641, allocations: 39.98 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.2641, allocations: 55.83 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2642, allocations: 111.4 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.2646, allocations: 330.7 kB / 1.246 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2646, allocations: 4 kB / 1.246 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2646, allocations: 0 / 1.246 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.2646, allocations: 0 / 1.246 GB, free: 5.977 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.0008297/0.2654, allocations: 0.5391 MB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.2655, allocations: 8.031 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.2655, allocations: 62.66 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.2656, allocations: 24.8 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.2662, allocations: 305.7 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.2663, allocations: 20.36 kB / 1.247 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.2663, allocations: 20.38 kB / 1.247 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.2667, allocations: 215.3 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2667, allocations: 0 / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.2668, allocations: 8 kB / 1.247 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2668, allocations: 4 kB / 1.247 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.2673, allocations: 159.8 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.268, allocations: 0.6446 MB / 1.248 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.2684, allocations: 153.2 kB / 1.248 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.2687, allocations: 81.69 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.2687, allocations: 7.984 kB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.269, allocations: 145 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.2691, allocations: 4 kB / 1.248 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007768/0.2698, allocations: 261.4 kB / 1.248 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2699, allocations: 81.11 kB / 1.248 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.27, allocations: 178.2 kB / 1.248 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2701, allocations: 29.7 kB / 1.248 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.2702, allocations: 136.4 kB / 1.249 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.2702, allocations: 51.58 kB / 1.249 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.2703, allocations: 61.69 kB / 1.249 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2705, allocations: 326.8 kB / 1.249 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.2707, allocations: 79.88 kB / 1.249 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.271, allocations: 125.1 kB / 1.249 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.2715, allocations: 219.3 kB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2715, allocations: 0 / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006726/0.2722, allocations: 287.1 kB / 1.25 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.2723, allocations: 39.25 kB / 1.25 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2723, allocations: 4.125 kB / 1.25 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2723, allocations: 7.938 kB / 1.25 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.2725, allocations: 35.91 kB / 1.25 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2725, allocations: 4 kB / 1.25 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.2727, allocations: 47.84 kB / 1.25 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2728, allocations: 8 kB / 1.25 GB, free: 1.328 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.0001261/0.2729, allocations: 146.3 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2729, allocations: 15.91 kB / 1.25 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.273, allocations: 17.41 kB / 1.25 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.273, allocations: 7.938 kB / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.273, allocations: 3.938 kB / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.273, allocations: 3.984 kB / 1.25 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.2733, allocations: 265.5 kB / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2733, allocations: 0 / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.2734, allocations: 35.97 kB / 1.25 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2734, allocations: 0 / 1.25 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2735, allocations: 7.984 kB / 1.25 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.2735, allocations: 7.938 kB / 1.25 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2735, allocations: 0 / 1.25 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.274, allocations: 223.2 kB / 1.251 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.2741, allocations: 93 kB / 1.251 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.2741, allocations: 8 kB / 1.251 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2742, allocations: 15.92 kB / 1.251 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.2743, allocations: 23.97 kB / 1.251 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2743, allocations: 8 kB / 1.251 GB, free: 376 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.94e-05/0.2744, allocations: 124.2 kB / 1.251 GB, free: 252 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2744, allocations: 0 / 1.251 GB, free: 252 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002267/0.2746, allocations: 47.89 kB / 1.251 GB, free: 204 kB / 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.4284/0.703, allocations: 0.7686 MB / 1.252 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006633/0.7037, allocations: 257.6 kB / 1.252 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7037, allocations: 1.031 kB / 1.252 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.704, allocations: 96.12 kB / 1.252 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.7043, allocations: 33.83 kB / 1.252 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.7068, allocations: 2.11 MB / 1.254 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.7069, allocations: 0.7334 MB / 1.255 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.707, allocations: 26.28 kB / 1.255 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.7071, allocations: 58.86 kB / 1.255 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of SimCode: time 1.9e-07/0.7071, allocations: 0 / 1.255 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7183/1.425, allocations: 4.489 MB / 1.259 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/11.55, allocations: 12.11 kB / 1.259 GB, free: 11.23 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 & /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 --timeout=400 --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) 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/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