Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.007054/0.007054, allocations: 100 kB / 15.73 MB, free: 6.004 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.001889/0.001889, allocations: 192.9 kB / 16.67 MB, free: 5.922 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 67.84 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.627, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1628/0.7898, allocations: 161.5 MB / 1.378 GB, free: 15.91 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.7925, allocations: 1.718 MB / 1.38 GB, free: 14.19 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.7927, allocations: 11.94 kB / 1.38 GB, free: 14.18 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.7931, allocations: 162.9 kB / 1.38 GB, free: 14.02 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.7943, allocations: 0.5017 MB / 1.38 GB, free: 13.52 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/0.7952, allocations: 425.4 kB / 1.381 GB, free: 13.11 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.7959, allocations: 0.5731 MB / 1.381 GB, free: 12.53 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.7962, allocations: 179.2 kB / 1.381 GB, free: 12.35 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.7968, allocations: 318.6 kB / 1.382 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.797, allocations: 155.3 kB / 1.382 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.797, allocations: 12 kB / 1.382 GB, free: 11.88 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.798, allocations: 0.7015 MB / 1.382 GB, free: 11.17 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.7981, allocations: 75.73 kB / 1.383 GB, free: 11.1 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.7983, allocations: 115.4 kB / 1.383 GB, free: 10.98 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006769/0.7989, allocations: 0.4914 MB / 1.383 GB, free: 10.49 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.799, allocations: 0 / 1.383 GB, free: 10.49 MB / 1.107 GB Notification: Performance of FrontEnd: time 8.82e-07/0.799, allocations: 0 / 1.383 GB, free: 10.49 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.799, allocations: 0 / 1.383 GB, free: 10.49 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007623/0.7997, allocations: 0.595 MB / 1.384 GB, free: 9.848 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.7998, allocations: 12.03 kB / 1.384 GB, free: 9.836 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.7998, allocations: 50.48 kB / 1.384 GB, free: 9.777 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.8001, allocations: 55.77 kB / 1.384 GB, free: 9.723 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.8006, allocations: 313.5 kB / 1.384 GB, free: 9.379 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.8006, allocations: 11.94 kB / 1.384 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.8006, allocations: 16 kB / 1.384 GB, free: 9.352 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.801, allocations: 192.1 kB / 1.384 GB, free: 9.148 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.801, allocations: 0 / 1.384 GB, free: 9.148 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.801, allocations: 7.984 kB / 1.384 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.801, allocations: 4 kB / 1.384 GB, free: 9.137 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.8013, allocations: 131.8 kB / 1.384 GB, free: 9.008 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.0009339/0.8022, allocations: 0.7778 MB / 1.385 GB, free: 8.16 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.8025, allocations: 78.47 kB / 1.385 GB, free: 8.074 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.8026, allocations: 80.86 kB / 1.385 GB, free: 7.992 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.8029, allocations: 186.2 kB / 1.386 GB, free: 7.773 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.803, allocations: 34.56 kB / 1.386 GB, free: 7.73 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 2.735e-06/0.803, allocations: 0 / 1.386 GB, free: 7.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006224/0.8036, allocations: 229.2 kB / 1.386 GB, free: 7.5 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.8036, allocations: 51.41 kB / 1.386 GB, free: 7.438 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.8039, allocations: 271 kB / 1.386 GB, free: 7.172 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.8039, allocations: 29.7 kB / 1.386 GB, free: 7.137 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.804, allocations: 148 kB / 1.386 GB, free: 6.988 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.8041, allocations: 39.62 kB / 1.386 GB, free: 6.949 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.8041, allocations: 29.72 kB / 1.386 GB, free: 6.914 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8043, allocations: 330.8 kB / 1.387 GB, free: 6.582 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.8044, allocations: 48.83 kB / 1.387 GB, free: 6.531 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.8046, allocations: 93.09 kB / 1.387 GB, free: 6.422 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.8048, allocations: 119.3 kB / 1.387 GB, free: 6.293 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8049, allocations: 4 kB / 1.387 GB, free: 6.289 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003336/0.8052, allocations: 161.4 kB / 1.387 GB, free: 6.125 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.8052, allocations: 5.875 kB / 1.387 GB, free: 6.121 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8052, allocations: 3.938 kB / 1.387 GB, free: 6.117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8052, allocations: 4 kB / 1.387 GB, free: 6.113 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.8054, allocations: 23.92 kB / 1.387 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.8054, allocations: 0 / 1.387 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.8055, allocations: 31.89 kB / 1.387 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.8056, allocations: 8 kB / 1.387 GB, free: 6.051 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001933/0.8058, allocations: 145.2 kB / 1.387 GB, free: 5.906 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001536/0.8059, allocations: 85.11 kB / 1.387 GB, free: 5.805 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002453/0.8062, allocations: 123.3 kB / 1.388 GB, free: 5.672 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.8062, allocations: 0 / 1.388 GB, free: 5.672 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003158/0.8065, allocations: 161.3 kB / 1.388 GB, free: 5.508 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.8065, allocations: 4.75 kB / 1.388 GB, free: 5.504 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.8065, allocations: 0 / 1.388 GB, free: 5.504 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.8065, allocations: 8.219 kB / 1.388 GB, free: 5.496 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.8066, allocations: 28.14 kB / 1.388 GB, free: 5.469 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/0.8067, allocations: 0 / 1.388 GB, free: 5.469 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.8068, allocations: 15.98 kB / 1.388 GB, free: 5.453 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.8068, allocations: 4 kB / 1.388 GB, free: 5.449 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 0.0001017/0.8069, allocations: 192.1 kB / 1.388 GB, free: 5.254 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.807, allocations: 31.78 kB / 1.388 GB, free: 5.223 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.8074, allocations: 167.2 kB / 1.388 GB, free: 5.051 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8074, allocations: 7.938 kB / 1.388 GB, free: 5.043 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.8074, allocations: 0 / 1.388 GB, free: 5.043 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8074, allocations: 3.984 kB / 1.388 GB, free: 5.039 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008468/0.8082, allocations: 0.586 MB / 1.389 GB, free: 4.375 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8082, allocations: 0 / 1.389 GB, free: 4.375 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.8084, allocations: 27.98 kB / 1.389 GB, free: 4.348 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8084, allocations: 0 / 1.389 GB, free: 4.348 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.8084, allocations: 4 kB / 1.389 GB, free: 4.344 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.8084, allocations: 8.156 kB / 1.389 GB, free: 4.336 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8084, allocations: 4 kB / 1.389 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.8088, allocations: 297.2 kB / 1.389 GB, free: 4.004 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.355e-05/0.8089, allocations: 113 kB / 1.389 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.8089, allocations: 7.984 kB / 1.389 GB, free: 3.867 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.8091, allocations: 11.98 kB / 1.389 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.8092, allocations: 19.88 kB / 1.389 GB, free: 3.836 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.8092, allocations: 4 kB / 1.389 GB, free: 3.832 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001824/0.8094, allocations: 197.9 kB / 1.389 GB, free: 3.637 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.8094, allocations: 0 / 1.389 GB, free: 3.637 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004075/0.8098, allocations: 95.83 kB / 1.389 GB, free: 3.543 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0008944/0.8107, allocations: 0.8935 MB / 1.39 GB, free: 2.609 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.8111, allocations: 179.7 kB / 1.39 GB, free: 2.434 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8111, allocations: 0 / 1.39 GB, free: 2.434 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.8113, allocations: 59.91 kB / 1.391 GB, free: 2.375 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.8119, allocations: 123.5 kB / 1.391 GB, free: 2.258 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.8146, allocations: 2.351 MB / 1.393 GB, free: 15.77 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.815, allocations: 0.7558 MB / 1.394 GB, free: 14.99 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000182/0.8152, allocations: 74.52 kB / 1.394 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.8153, allocations: 71.42 kB / 1.394 GB, free: 14.84 MB / 1.123 GB Notification: Performance of SimCode: time 3.1e-07/0.8153, allocations: 0 / 1.394 GB, free: 14.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9546/1.77, allocations: 6.9 MB / 1.401 GB, free: 8.105 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/17.52, allocations: 20.45 kB / 1.401 GB, free: 8.086 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches