Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.001696/0.001696, 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.002457/0.002457, allocations: 194.7 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6528, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8331/1.486, allocations: 241.9 MB / 1.254 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01759/1.504, allocations: 13.52 MB / 1.267 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/1.506, allocations: 60.34 kB / 1.267 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/1.509, allocations: 0.9764 MB / 1.268 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00543/1.514, allocations: 1.781 MB / 1.27 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/1.518, allocations: 1.227 MB / 1.271 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005926/1.524, allocations: 3.247 MB / 1.274 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/1.527, allocations: 1.061 MB / 1.275 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/1.538, allocations: 4.114 MB / 1.279 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/1.54, allocations: 0.8996 MB / 1.28 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/1.54, allocations: 79.62 kB / 1.28 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/1.542, allocations: 0.6953 MB / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004875/1.543, allocations: 439.3 kB / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009787/1.544, allocations: 0.6842 MB / 1.282 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/1.546, allocations: 1.492 MB / 1.283 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.546, allocations: 0 / 1.283 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/1.546, allocations: 6.25 kB / 1.283 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.318e-05/1.546, allocations: 0 / 1.283 GB, free: 1.516 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002443/1.549, allocations: 1.616 MB / 1.285 GB, free: 16.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.549, allocations: 10.19 kB / 1.285 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/1.549, allocations: 124.1 kB / 1.285 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/1.549, allocations: 204.6 kB / 1.285 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.551, allocations: 0.8302 MB / 1.286 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/1.551, allocations: 129.8 kB / 1.286 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/1.551, allocations: 83.03 kB / 1.286 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.552, allocations: 0.9192 MB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/1.552, allocations: 6.609 kB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/1.552, allocations: 34.53 kB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/1.552, allocations: 22.56 kB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/1.553, allocations: 0.5096 MB / 1.288 GB, free: 15.79 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/1.558, allocations: 4.885 MB / 1.292 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/1.558, allocations: 420.3 kB / 1.293 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/1.559, allocations: 265.9 kB / 1.293 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/1.559, allocations: 100.2 kB / 1.293 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/1.559, allocations: 54 kB / 1.293 GB, free: 11.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/1.559, allocations: 0 / 1.293 GB, free: 11.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001866/1.561, allocations: 0.7794 MB / 1.294 GB, free: 11.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.561, allocations: 400.5 kB / 1.294 GB, free: 11.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.562, allocations: 1.271 MB / 1.296 GB, free: 10.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/1.562, allocations: 37.61 kB / 1.296 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.563, allocations: 0.5564 MB / 1.296 GB, free: 10.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/1.563, allocations: 110.8 kB / 1.296 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/1.563, allocations: 84.55 kB / 1.296 GB, free: 10.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/1.563, allocations: 315.6 kB / 1.297 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.563, allocations: 98.03 kB / 1.297 GB, free: 10.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/1.564, allocations: 341.5 kB / 1.297 GB, free: 10.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/1.564, allocations: 325.7 kB / 1.297 GB, free: 9.938 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.564, allocations: 7.844 kB / 1.297 GB, free: 9.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007764/1.565, allocations: 493.8 kB / 1.298 GB, free: 9.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.565, allocations: 13.44 kB / 1.298 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.565, allocations: 2.562 kB / 1.298 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/1.565, allocations: 75.3 kB / 1.298 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/1.565, allocations: 61.75 kB / 1.298 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/1.568, allocations: 3.255 MB / 1.301 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/1.569, allocations: 103 kB / 1.301 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/1.569, allocations: 20.34 kB / 1.301 GB, free: 6.777 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003971/1.569, allocations: 275.3 kB / 1.301 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/1.569, allocations: 140.8 kB / 1.302 GB, free: 6.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/1.57, allocations: 123.8 kB / 1.302 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.57, allocations: 10.84 kB / 1.302 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.57, allocations: 9.438 kB / 1.302 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.57, allocations: 9.578 kB / 1.302 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/1.573, allocations: 2.511 MB / 1.304 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.573, allocations: 5.203 kB / 1.304 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/1.573, allocations: 51.98 kB / 1.304 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/1.573, allocations: 72.5 kB / 1.304 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/1.573, allocations: 11.91 kB / 1.304 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/1.575, allocations: 3.261 MB / 1.308 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.575, allocations: 6.844 kB / 1.308 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009567/1.576, allocations: 0.6821 MB / 1.308 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/1.577, allocations: 248.7 kB / 1.308 GB, free: 1.504 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.577, allocations: 11.5 kB / 1.308 GB, free: 1.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000665/1.578, allocations: 47.52 kB / 1.309 GB, free: 1.504 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/1.578, allocations: 46.23 kB / 1.309 GB, free: 1.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/1.578, allocations: 20.88 kB / 1.309 GB, free: 1.492 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001231/1.579, allocations: 0.8777 MB / 1.309 GB, free: 1.383 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.579, allocations: 0 / 1.309 GB, free: 1.383 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001098/1.58, allocations: 259.2 kB / 1.31 GB, free: 1.367 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/1.582, allocations: 1.322 MB / 1.311 GB, free: 428 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009798/1.583, allocations: 0.5284 MB / 1.311 GB, free: 184 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.583, allocations: 3.406 kB / 1.311 GB, free: 184 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005198/1.583, allocations: 401.4 kB / 1.312 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/1.587, allocations: 0.7506 MB / 1.313 GB, free: 15.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.597, allocations: 9.024 MB / 1.321 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/1.598, allocations: 1.136 MB / 1.323 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001001/1.599, allocations: 240.3 kB / 1.323 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/1.599, allocations: 441.2 kB / 1.323 GB, free: 11.27 MB / 1.029 GB Notification: Performance of SimCode: time 1.293e-06/1.599, allocations: 0 / 1.323 GB, free: 11.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0734/1.673, allocations: 33.98 MB / 1.356 GB, free: 2.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.78, allocations: 17.48 kB / 1.356 GB, free: 2.023 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches