Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",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.001227/0.001227, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 390.3 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 0.8128 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4913, allocations: 140.4 MB / 0.9498 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup): time 0.002039/0.4934, allocations: 1.355 MB / 0.9511 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.4942, allocations: 1.049 MB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4943, allocations: 5.281 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.479e-05/0.4944, allocations: 31.55 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.4945, allocations: 47.7 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.4947, allocations: 144.2 kB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.495, allocations: 354.4 kB / 0.9527 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.4952, allocations: 187.1 kB / 0.9529 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.049e-05/0.4953, allocations: 122.8 kB / 0.953 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.4954, allocations: 144.6 kB / 0.9532 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.4954, allocations: 38 kB / 0.9532 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.409e-05/0.4955, allocations: 37.91 kB / 0.9532 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.4955, allocations: 85 kB / 0.9533 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.4956, allocations: 159.7 kB / 0.9535 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.4959, allocations: 479.4 kB / 0.9539 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4959, allocations: 0 / 0.9539 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4959, allocations: 0 / 0.9539 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4959, allocations: 4 kB / 0.9539 GB, free: 5.91 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0006871/0.4966, allocations: 0.5929 MB / 0.9545 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.4967, allocations: 9.375 kB / 0.9545 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.4967, allocations: 68.47 kB / 0.9546 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.4968, allocations: 34.12 kB / 0.9546 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.4971, allocations: 327.5 kB / 0.9549 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.4972, allocations: 20.84 kB / 0.9549 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.4972, allocations: 32.28 kB / 0.955 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.4976, allocations: 281.7 kB / 0.9552 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4976, allocations: 5.062 kB / 0.9553 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.4977, allocations: 22.33 kB / 0.9553 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4977, allocations: 8.625 kB / 0.9553 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.4981, allocations: 241.2 kB / 0.9555 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.4991, allocations: 0.853 MB / 0.9563 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.4993, allocations: 137.7 kB / 0.9565 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4994, allocations: 64.77 kB / 0.9565 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4995, allocations: 11.02 kB / 0.9565 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.4995, allocations: 40.12 kB / 0.9566 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.4995, allocations: 0 / 0.9566 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0005009/0.5, allocations: 234.6 kB / 0.9568 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.5, allocations: 52.66 kB / 0.9569 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.5002, allocations: 281.2 kB / 0.9571 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.5003, allocations: 34.77 kB / 0.9572 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.5003, allocations: 192.5 kB / 0.9573 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.5004, allocations: 62.16 kB / 0.9574 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.5004, allocations: 45.97 kB / 0.9574 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.5005, allocations: 332.3 kB / 0.9578 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.5006, allocations: 61.88 kB / 0.9578 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.5008, allocations: 120.5 kB / 0.9579 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.5011, allocations: 200.1 kB / 0.9581 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5011, allocations: 1.125 kB / 0.9581 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003866/0.5015, allocations: 245.5 kB / 0.9584 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.5015, allocations: 9.688 kB / 0.9584 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5015, allocations: 1.375 kB / 0.9584 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5015, allocations: 2.75 kB / 0.9584 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.5017, allocations: 50.41 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5017, allocations: 2.75 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.5019, allocations: 30.69 kB / 0.9585 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5019, allocations: 18.84 kB / 0.9585 GB, free: 2.328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 8.234e-05/0.502, allocations: 146.1 kB / 0.9586 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.502, allocations: 32.03 kB / 0.9586 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.5024, allocations: 236.1 kB / 0.9589 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5024, allocations: 2.219 kB / 0.9589 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5025, allocations: 1.188 kB / 0.9589 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5025, allocations: 3.984 kB / 0.9589 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.5031, allocations: 0.6458 MB / 0.9595 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5031, allocations: 1.094 kB / 0.9595 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.5033, allocations: 40 kB / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5033, allocations: 2.062 kB / 0.9596 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5033, allocations: 11 kB / 0.9596 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5033, allocations: 6.062 kB / 0.9596 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5033, allocations: 1.094 kB / 0.9596 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.5037, allocations: 333.9 kB / 0.9599 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.5037, allocations: 108.8 kB / 0.96 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.5038, allocations: 6.781 kB / 0.96 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.5039, allocations: 18.39 kB / 0.96 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.504, allocations: 23.34 kB / 0.96 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.504, allocations: 10.84 kB / 0.96 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001357/0.5042, allocations: 199.6 kB / 0.9602 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5042, allocations: 4 kB / 0.9602 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002799/0.5044, allocations: 55.84 kB / 0.9603 GB, free: 0.8984 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0005008/0.5049, allocations: 0.8671 MB / 0.9611 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.5053, allocations: 179.5 kB / 0.9613 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5053, allocations: 384 / 0.9613 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.5055, allocations: 85.88 kB / 0.9614 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.506, allocations: 57.64 kB / 0.9614 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.5086, allocations: 2.519 MB / 0.9639 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.5088, allocations: 0.7692 MB / 0.9647 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.509, allocations: 39.7 kB / 0.9647 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5091, allocations: 98.91 kB / 0.9648 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5091, allocations: 1.062 kB / 0.9648 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.5289, allocations: 5.045 MB / 0.9697 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/7.114, allocations: 16.81 kB / 0.9697 GB, free: 10.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches