Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_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.006742/0.006742, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001873/0.001873, allocations: 192.7 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.17 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2719, allocations: 162.2 MB / 1.241 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2587/0.5306, allocations: 242 MB / 1.478 GB, free: 6.328 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.5485, allocations: 13.53 MB / 1.491 GB, free: 8.762 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5495, allocations: 59.56 kB / 1.491 GB, free: 8.703 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.5517, allocations: 0.9744 MB / 1.492 GB, free: 7.723 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003719/0.5554, allocations: 1.76 MB / 1.494 GB, free: 5.957 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.5582, allocations: 1.24 MB / 1.495 GB, free: 4.73 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.5622, allocations: 3.231 MB / 1.498 GB, free: 1.492 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.5637, allocations: 1.063 MB / 1.499 GB, free: 416 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008853/0.5726, allocations: 4.176 MB / 1.503 GB, free: 12.21 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.5738, allocations: 0.8671 MB / 1.504 GB, free: 11.34 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.574, allocations: 79.94 kB / 1.504 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.5753, allocations: 0.6976 MB / 1.505 GB, free: 10.57 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004487/0.5758, allocations: 438.6 kB / 1.505 GB, free: 10.14 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.5765, allocations: 0.6839 MB / 1.506 GB, free: 9.449 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.5784, allocations: 1.521 MB / 1.507 GB, free: 7.922 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5784, allocations: 7.938 kB / 1.507 GB, free: 7.914 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5784, allocations: 0 / 1.507 GB, free: 7.914 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.5785, allocations: 0 / 1.507 GB, free: 7.914 MB / 1.232 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.002386/0.5808, allocations: 1.665 MB / 1.509 GB, free: 6.195 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5809, allocations: 12.03 kB / 1.509 GB, free: 6.184 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.581, allocations: 126.7 kB / 1.509 GB, free: 6.051 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006709/0.5817, allocations: 210.9 kB / 1.509 GB, free: 5.844 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.5833, allocations: 0.9139 MB / 1.51 GB, free: 4.875 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.5834, allocations: 125.4 kB / 1.51 GB, free: 4.738 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.5836, allocations: 80 kB / 1.51 GB, free: 4.66 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.5851, allocations: 0.922 MB / 1.511 GB, free: 3.645 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5851, allocations: 4 kB / 1.511 GB, free: 3.641 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.5852, allocations: 32 kB / 1.511 GB, free: 3.609 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.5852, allocations: 20 kB / 1.511 GB, free: 3.59 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.5862, allocations: 0.511 MB / 1.512 GB, free: 3.082 MB / 1.232 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.005084/0.5913, allocations: 4.862 MB / 1.517 GB, free: 13.91 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.5919, allocations: 428.6 kB / 1.517 GB, free: 13.36 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.5923, allocations: 259.9 kB / 1.517 GB, free: 13.06 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.5925, allocations: 105 kB / 1.517 GB, free: 12.94 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.5926, allocations: 54.48 kB / 1.517 GB, free: 12.88 MB / 1.248 GB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.5926, allocations: 0 / 1.517 GB, free: 12.88 MB / 1.248 GB Notification: Performance of matching and sorting (n=31): time 0.001895/0.5945, allocations: 0.7907 MB / 1.518 GB, free: 12.04 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002752/0.5948, allocations: 393.5 kB / 1.519 GB, free: 11.56 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.5964, allocations: 1.271 MB / 1.52 GB, free: 10.28 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.5965, allocations: 37.7 kB / 1.52 GB, free: 10.24 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.597, allocations: 0.5577 MB / 1.52 GB, free: 9.676 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.5971, allocations: 111 kB / 1.521 GB, free: 9.566 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.5973, allocations: 89.58 kB / 1.521 GB, free: 9.473 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5974, allocations: 325.9 kB / 1.521 GB, free: 9.148 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.5976, allocations: 87.94 kB / 1.521 GB, free: 9.062 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.5981, allocations: 338.5 kB / 1.521 GB, free: 8.637 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.5988, allocations: 328.5 kB / 1.522 GB, free: 8.27 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5988, allocations: 0 / 1.522 GB, free: 8.27 MB / 1.248 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009689/0.5998, allocations: 0.4905 MB / 1.522 GB, free: 7.766 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5998, allocations: 4 kB / 1.522 GB, free: 7.762 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5998, allocations: 4 kB / 1.522 GB, free: 7.758 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.6001, allocations: 69.67 kB / 1.522 GB, free: 7.684 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.6003, allocations: 60 kB / 1.522 GB, free: 7.625 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.6033, allocations: 3.274 MB / 1.525 GB, free: 4.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.604, allocations: 95.34 kB / 1.526 GB, free: 3.977 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.604, allocations: 20 kB / 1.526 GB, free: 3.957 MB / 1.248 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.0004024/0.6044, allocations: 269.7 kB / 1.526 GB, free: 3.684 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.6048, allocations: 147.1 kB / 1.526 GB, free: 3.539 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.605, allocations: 128 kB / 1.526 GB, free: 3.41 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.605, allocations: 7.938 kB / 1.526 GB, free: 3.402 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.605, allocations: 15.98 kB / 1.526 GB, free: 3.387 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.605, allocations: 4 kB / 1.526 GB, free: 3.383 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.6085, allocations: 2.516 MB / 1.529 GB, free: 0.7227 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.6085, allocations: 8 kB / 1.529 GB, free: 0.7148 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.6087, allocations: 47.91 kB / 1.529 GB, free: 0.668 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/0.6089, allocations: 70.08 kB / 1.529 GB, free: 0.5938 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.6089, allocations: 16 kB / 1.529 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/0.6119, allocations: 3.27 MB / 1.532 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.612, allocations: 11.94 kB / 1.532 GB, free: 13.02 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.6129, allocations: 0.6775 MB / 1.533 GB, free: 12.25 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.6133, allocations: 248.1 kB / 1.533 GB, free: 11.99 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.6134, allocations: 15.98 kB / 1.533 GB, free: 11.98 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006743/0.6141, allocations: 43.95 kB / 1.533 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.6142, allocations: 47.78 kB / 1.533 GB, free: 11.89 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.6143, allocations: 15.98 kB / 1.533 GB, free: 11.87 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001186/0.6155, allocations: 0.8802 MB / 1.534 GB, free: 10.99 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6155, allocations: 4 kB / 1.534 GB, free: 10.99 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000897/0.6164, allocations: 255.8 kB / 1.534 GB, free: 10.74 MB / 1.264 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.001578/0.6179, allocations: 1.336 MB / 1.535 GB, free: 9.312 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.619, allocations: 0.5207 MB / 1.536 GB, free: 8.766 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.619, allocations: 0 / 1.536 GB, free: 8.766 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.6196, allocations: 402.6 kB / 1.536 GB, free: 8.348 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.623, allocations: 0.7553 MB / 1.537 GB, free: 7.594 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4998/1.123, allocations: 8.238 MB / 1.545 GB, free: 302.4 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/1.124, allocations: 1.132 MB / 1.546 GB, free: 301.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000834/1.124, allocations: 239.2 kB / 1.546 GB, free: 301.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/1.125, allocations: 442.5 kB / 1.547 GB, free: 301.6 MB / 1.264 GB Notification: Performance of SimCode: time 6.41e-07/1.125, allocations: 0 / 1.547 GB, free: 301.6 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/1.194, allocations: 34.24 MB / 1.58 GB, free: 288.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.02, allocations: 4.516 kB / 1.58 GB, free: 288.8 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches