Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_11_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.004146/0.004146, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001239/0.001239, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.84 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2739, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7549/1.029, allocations: 241.9 MB / 1.456 GB, free: 3.434 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01876/1.048, allocations: 13.53 MB / 1.47 GB, free: 5.871 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/1.049, allocations: 59.62 kB / 1.47 GB, free: 5.812 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/1.051, allocations: 0.9782 MB / 1.471 GB, free: 4.828 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/1.055, allocations: 1.777 MB / 1.472 GB, free: 3.047 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/1.057, allocations: 1.247 MB / 1.474 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003706/1.061, allocations: 3.259 MB / 1.477 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/1.063, allocations: 1.063 MB / 1.478 GB, free: 13.46 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008423/1.071, allocations: 4.121 MB / 1.482 GB, free: 9.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/1.072, allocations: 0.8944 MB / 1.483 GB, free: 8.422 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/1.072, allocations: 80 kB / 1.483 GB, free: 8.344 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/1.074, allocations: 0.6975 MB / 1.483 GB, free: 7.645 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004652/1.074, allocations: 442.6 kB / 1.484 GB, free: 7.211 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007352/1.075, allocations: 0.6878 MB / 1.485 GB, free: 6.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/1.077, allocations: 1.521 MB / 1.486 GB, free: 4.992 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/1.077, allocations: 0 / 1.486 GB, free: 4.992 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.072e-06/1.077, allocations: 0 / 1.486 GB, free: 4.992 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.331e-05/1.077, allocations: 4 kB / 1.486 GB, free: 4.988 MB / 1.17 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.002392/1.079, allocations: 1.673 MB / 1.488 GB, free: 3.262 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/1.079, allocations: 8.031 kB / 1.488 GB, free: 3.254 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/1.079, allocations: 126.7 kB / 1.488 GB, free: 3.121 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006703/1.08, allocations: 207 kB / 1.488 GB, free: 2.918 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/1.082, allocations: 0.91 MB / 1.489 GB, free: 1.953 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/1.082, allocations: 133.1 kB / 1.489 GB, free: 1.812 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/1.082, allocations: 84 kB / 1.489 GB, free: 1.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/1.083, allocations: 0.9181 MB / 1.49 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.083, allocations: 3.938 kB / 1.49 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/1.084, allocations: 35.94 kB / 1.49 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/1.084, allocations: 24 kB / 1.49 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/1.085, allocations: 0.5071 MB / 1.491 GB, free: 156 kB / 1.17 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.005054/1.09, allocations: 4.87 MB / 1.495 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/1.09, allocations: 412.6 kB / 1.496 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/1.091, allocations: 263.9 kB / 1.496 GB, free: 10.14 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/1.091, allocations: 101 kB / 1.496 GB, free: 10.03 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/1.091, allocations: 58.48 kB / 1.496 GB, free: 9.961 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/1.091, allocations: 0 / 1.496 GB, free: 9.961 MB / 1.186 GB Notification: Performance of matching and sorting (n=31): time 0.001885/1.093, allocations: 0.7924 MB / 1.497 GB, free: 9.121 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002264/1.093, allocations: 397.8 kB / 1.497 GB, free: 8.641 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.095, allocations: 1.279 MB / 1.499 GB, free: 7.352 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/1.095, allocations: 33.7 kB / 1.499 GB, free: 7.312 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/1.095, allocations: 0.5538 MB / 1.499 GB, free: 6.754 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.095, allocations: 111.1 kB / 1.499 GB, free: 6.645 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/1.096, allocations: 81.64 kB / 1.499 GB, free: 6.559 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.096, allocations: 325.9 kB / 1.5 GB, free: 6.234 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/1.096, allocations: 87.94 kB / 1.5 GB, free: 6.148 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/1.096, allocations: 338.5 kB / 1.5 GB, free: 5.723 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/1.097, allocations: 324.5 kB / 1.5 GB, free: 5.359 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.097, allocations: 4 kB / 1.5 GB, free: 5.355 MB / 1.186 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009277/1.098, allocations: 0.4903 MB / 1.501 GB, free: 4.852 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.098, allocations: 8 kB / 1.501 GB, free: 4.844 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.098, allocations: 4 kB / 1.501 GB, free: 4.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/1.098, allocations: 77.95 kB / 1.501 GB, free: 4.758 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/1.099, allocations: 59.91 kB / 1.501 GB, free: 4.699 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/1.101, allocations: 3.267 MB / 1.504 GB, free: 1.156 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/1.102, allocations: 98.48 kB / 1.504 GB, free: 1.062 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/1.102, allocations: 20 kB / 1.504 GB, free: 1.043 MB / 1.186 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.0003715/1.103, allocations: 275.3 kB / 1.504 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/1.103, allocations: 143.1 kB / 1.505 GB, free: 0.625 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/1.103, allocations: 127.9 kB / 1.505 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.103, allocations: 11.94 kB / 1.505 GB, free: 492 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.103, allocations: 4 kB / 1.505 GB, free: 488 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.103, allocations: 4 kB / 1.505 GB, free: 484 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/1.107, allocations: 2.52 MB / 1.507 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.107, allocations: 4 kB / 1.507 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/1.107, allocations: 47.91 kB / 1.507 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/1.107, allocations: 74.36 kB / 1.507 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/1.107, allocations: 12 kB / 1.507 GB, free: 13.67 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/1.11, allocations: 3.272 MB / 1.511 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.11, allocations: 7.938 kB / 1.511 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009661/1.111, allocations: 0.6853 MB / 1.511 GB, free: 9.336 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/1.111, allocations: 252.1 kB / 1.511 GB, free: 9.07 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.111, allocations: 15.98 kB / 1.511 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/1.112, allocations: 43.95 kB / 1.512 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/1.112, allocations: 43.78 kB / 1.512 GB, free: 8.969 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/1.112, allocations: 19.98 kB / 1.512 GB, free: 8.949 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001194/1.113, allocations: 0.8763 MB / 1.512 GB, free: 8.074 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/1.113, allocations: 0 / 1.512 GB, free: 8.074 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008795/1.114, allocations: 259.8 kB / 1.513 GB, free: 7.82 MB / 1.201 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.00163/1.116, allocations: 1.344 MB / 1.514 GB, free: 6.391 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009742/1.117, allocations: 0.5243 MB / 1.515 GB, free: 5.84 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.117, allocations: 0 / 1.515 GB, free: 5.84 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/1.117, allocations: 399 kB / 1.515 GB, free: 5.426 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.121, allocations: 0.7366 MB / 1.516 GB, free: 4.691 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/1.132, allocations: 8.255 MB / 1.524 GB, free: 12.08 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008379/1.133, allocations: 1.138 MB / 1.525 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006424/1.134, allocations: 238.5 kB / 1.525 GB, free: 10.68 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/1.134, allocations: 447.3 kB / 1.525 GB, free: 10.24 MB / 1.217 GB Notification: Performance of SimCode: time 2.81e-07/1.134, allocations: 3.938 kB / 1.525 GB, free: 10.23 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07264/1.207, allocations: 34.23 MB / 1.559 GB, free: 8.551 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.9, allocations: 2.391 kB / 1.559 GB, free: 8.551 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches