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.007708/0.007708, allocations: 99.23 kB / 15.73 MB, free: 5.953 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.001791/0.001791, allocations: 198.9 kB / 16.68 MB, free: 5.887 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.561/2.561, allocations: 437.1 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.9042/1.205, allocations: 241.9 MB / 1.402 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01729/1.222, allocations: 13.54 MB / 1.416 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/1.224, allocations: 58.69 kB / 1.416 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002694/1.227, allocations: 0.9789 MB / 1.417 GB, free: 15.69 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004779/1.232, allocations: 1.771 MB / 1.418 GB, free: 14.29 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/1.235, allocations: 1.248 MB / 1.42 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004686/1.24, allocations: 3.25 MB / 1.423 GB, free: 11.54 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/1.242, allocations: 1.061 MB / 1.424 GB, free: 10.87 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/1.252, allocations: 4.114 MB / 1.428 GB, free: 8.148 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/1.253, allocations: 0.8897 MB / 1.429 GB, free: 7.625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002745/1.254, allocations: 81 kB / 1.429 GB, free: 7.625 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/1.256, allocations: 0.7004 MB / 1.429 GB, free: 7.184 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/1.256, allocations: 450.5 kB / 1.43 GB, free: 6.742 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009151/1.257, allocations: 0.6839 MB / 1.431 GB, free: 6.055 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/1.26, allocations: 1.522 MB / 1.432 GB, free: 4.527 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.26, allocations: 0 / 1.432 GB, free: 4.527 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.523e-06/1.26, allocations: 0 / 1.432 GB, free: 4.527 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.26, allocations: 0 / 1.432 GB, free: 4.527 MB / 1.092 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.002396/1.262, allocations: 1.619 MB / 1.434 GB, free: 2.855 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.262, allocations: 8.031 kB / 1.434 GB, free: 2.848 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/1.262, allocations: 126.7 kB / 1.434 GB, free: 2.715 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/1.263, allocations: 206.1 kB / 1.434 GB, free: 2.512 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/1.264, allocations: 0.8972 MB / 1.435 GB, free: 1.559 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.265, allocations: 129.4 kB / 1.435 GB, free: 1.418 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/1.265, allocations: 84 kB / 1.435 GB, free: 1.336 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.266, allocations: 0.9181 MB / 1.436 GB, free: 336 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.266, allocations: 0.5 kB / 1.436 GB, free: 336 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/1.266, allocations: 36 kB / 1.436 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/1.266, allocations: 20 kB / 1.436 GB, free: 280 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/1.267, allocations: 0.5103 MB / 1.436 GB, free: 15.76 MB / 1.107 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.004759/1.272, allocations: 4.864 MB / 1.441 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/1.272, allocations: 421.9 kB / 1.442 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/1.273, allocations: 263.8 kB / 1.442 GB, free: 9.75 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/1.273, allocations: 101.1 kB / 1.442 GB, free: 9.633 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.273, allocations: 54.48 kB / 1.442 GB, free: 9.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.856e-06/1.273, allocations: 0 / 1.442 GB, free: 9.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001909/1.275, allocations: 0.7795 MB / 1.443 GB, free: 8.742 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/1.275, allocations: 393.5 kB / 1.443 GB, free: 8.266 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/1.276, allocations: 1.279 MB / 1.444 GB, free: 6.977 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/1.277, allocations: 37.92 kB / 1.444 GB, free: 6.934 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/1.277, allocations: 0.5457 MB / 1.445 GB, free: 6.383 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/1.277, allocations: 114.3 kB / 1.445 GB, free: 6.27 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.277, allocations: 81.69 kB / 1.445 GB, free: 6.184 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.277, allocations: 325.9 kB / 1.445 GB, free: 5.859 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/1.277, allocations: 87.94 kB / 1.446 GB, free: 5.773 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/1.278, allocations: 334.5 kB / 1.446 GB, free: 5.352 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/1.278, allocations: 332.5 kB / 1.446 GB, free: 4.98 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.278, allocations: 0 / 1.446 GB, free: 4.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008627/1.279, allocations: 0.4899 MB / 1.447 GB, free: 4.477 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.279, allocations: 4 kB / 1.447 GB, free: 4.473 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.279, allocations: 7.984 kB / 1.447 GB, free: 4.465 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/1.28, allocations: 69.7 kB / 1.447 GB, free: 4.391 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/1.28, allocations: 59.91 kB / 1.447 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/1.282, allocations: 3.263 MB / 1.45 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/1.283, allocations: 95.08 kB / 1.45 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/1.283, allocations: 20 kB / 1.45 GB, free: 0.6836 MB / 1.107 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.0004288/1.284, allocations: 273.8 kB / 1.45 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/1.284, allocations: 138.4 kB / 1.451 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/1.284, allocations: 127.9 kB / 1.451 GB, free: 144 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.284, allocations: 4 kB / 1.451 GB, free: 140 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.284, allocations: 11.94 kB / 1.451 GB, free: 128 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.284, allocations: 4 kB / 1.451 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/1.288, allocations: 2.52 MB / 1.453 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.288, allocations: 8 kB / 1.453 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/1.288, allocations: 51.91 kB / 1.453 GB, free: 13.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/1.288, allocations: 70.33 kB / 1.453 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/1.288, allocations: 12 kB / 1.453 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/1.29, allocations: 3.259 MB / 1.456 GB, free: 9.773 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.29, allocations: 8 kB / 1.456 GB, free: 9.766 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/1.291, allocations: 0.6923 MB / 1.457 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/1.292, allocations: 243.3 kB / 1.457 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/1.292, allocations: 19.98 kB / 1.457 GB, free: 8.703 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/1.293, allocations: 47.89 kB / 1.457 GB, free: 8.656 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/1.293, allocations: 39.84 kB / 1.457 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/1.293, allocations: 19.98 kB / 1.457 GB, free: 8.598 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001195/1.294, allocations: 0.8802 MB / 1.458 GB, free: 7.719 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.294, allocations: 0 / 1.458 GB, free: 7.719 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001044/1.295, allocations: 255.7 kB / 1.459 GB, free: 7.469 MB / 1.123 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.001488/1.296, allocations: 1.336 MB / 1.46 GB, free: 6.043 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009508/1.297, allocations: 0.5209 MB / 1.46 GB, free: 5.496 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.297, allocations: 0 / 1.46 GB, free: 5.496 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005249/1.298, allocations: 399.1 kB / 1.461 GB, free: 5.082 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/1.302, allocations: 0.7456 MB / 1.461 GB, free: 4.34 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.313, allocations: 8.213 MB / 1.47 GB, free: 11.77 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/1.314, allocations: 1.13 MB / 1.471 GB, free: 10.61 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008037/1.314, allocations: 242.5 kB / 1.471 GB, free: 10.37 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/1.315, allocations: 443.3 kB / 1.471 GB, free: 9.934 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/1.315, allocations: 0 / 1.471 GB, free: 9.934 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07194/1.387, allocations: 34.23 MB / 1.505 GB, free: 8.242 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/13.01, allocations: 10.81 kB / 1.505 GB, free: 8.234 MB / 1.17 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