Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.PressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_10_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.001318/0.001318, 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.001103/0.001103, allocations: 192.6 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.522/2.522, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/0.7147, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1778/0.8925, allocations: 161.5 MB / 1.175 GB, free: 372 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003595/0.8962, allocations: 1.712 MB / 1.177 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005535/0.8967, allocations: 11.94 kB / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.8975, allocations: 162.9 kB / 1.177 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.8993, allocations: 0.5056 MB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.9006, allocations: 418 kB / 1.178 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.9017, allocations: 0.5693 MB / 1.178 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.9021, allocations: 188.4 kB / 1.179 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008408/0.903, allocations: 314.7 kB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.9033, allocations: 151.4 kB / 1.179 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.9033, allocations: 12 kB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.9046, allocations: 0.6976 MB / 1.18 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.9047, allocations: 75.73 kB / 1.18 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.9049, allocations: 119.4 kB / 1.18 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.9059, allocations: 0.4908 MB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9059, allocations: 0 / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9059, allocations: 0 / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.9059, allocations: 0 / 1.18 GB, free: 10.96 MB / 0.9356 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.001091/0.907, allocations: 0.5761 MB / 1.181 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9071, allocations: 12.03 kB / 1.181 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.9072, allocations: 50.48 kB / 1.181 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.9077, allocations: 59.66 kB / 1.181 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.9082, allocations: 285.3 kB / 1.181 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.9082, allocations: 8 kB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.9082, allocations: 16 kB / 1.181 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.9086, allocations: 204 kB / 1.182 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9087, allocations: 0 / 1.182 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.9087, allocations: 4 kB / 1.182 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.9087, allocations: 7.984 kB / 1.182 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.909, allocations: 125.4 kB / 1.182 GB, free: 9.516 MB / 0.9356 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.001185/0.9102, allocations: 0.7847 MB / 1.182 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.9105, allocations: 90.47 kB / 1.183 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.9107, allocations: 76.86 kB / 1.183 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.9111, allocations: 182.2 kB / 1.183 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.9111, allocations: 38.56 kB / 1.183 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.9111, allocations: 0 / 1.183 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006932/0.9118, allocations: 217.2 kB / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.9119, allocations: 59.41 kB / 1.183 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.9122, allocations: 267.4 kB / 1.183 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.9122, allocations: 29.7 kB / 1.183 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.9123, allocations: 147.9 kB / 1.184 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.9123, allocations: 31.55 kB / 1.184 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.9124, allocations: 33.66 kB / 1.184 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9126, allocations: 330.8 kB / 1.184 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.9127, allocations: 48.83 kB / 1.184 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.9129, allocations: 97.03 kB / 1.184 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.9132, allocations: 119.3 kB / 1.184 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9132, allocations: 0 / 1.184 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003725/0.9136, allocations: 161.3 kB / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9136, allocations: 8 kB / 1.184 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9136, allocations: 3.938 kB / 1.184 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.9136, allocations: 0 / 1.184 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.9138, allocations: 19.98 kB / 1.184 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.9138, allocations: 7.938 kB / 1.184 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.914, allocations: 27.75 kB / 1.184 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.914, allocations: 8.031 kB / 1.184 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002212/0.9142, allocations: 148.1 kB / 1.185 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001604/0.9144, allocations: 89.11 kB / 1.185 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002589/0.9147, allocations: 127.4 kB / 1.185 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.9147, allocations: 0 / 1.185 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003397/0.915, allocations: 153.2 kB / 1.185 GB, free: 6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.915, allocations: 8 kB / 1.185 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/0.9151, allocations: 0 / 1.185 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-06/0.9151, allocations: 4.062 kB / 1.185 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.9152, allocations: 39.95 kB / 1.185 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.9152, allocations: 0 / 1.185 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.9154, allocations: 11.98 kB / 1.185 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.9154, allocations: 4 kB / 1.185 GB, free: 5.934 MB / 0.9356 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.0001158/0.9155, allocations: 184.3 kB / 1.185 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.9156, allocations: 23.72 kB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.916, allocations: 171.5 kB / 1.185 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.916, allocations: 4 kB / 1.185 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.916, allocations: 0 / 1.185 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.916, allocations: 3.984 kB / 1.185 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.917, allocations: 0.5898 MB / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.917, allocations: 0 / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.9171, allocations: 23.98 kB / 1.186 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9171, allocations: 0 / 1.186 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.9171, allocations: 4 kB / 1.186 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.9172, allocations: 4 kB / 1.186 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.9172, allocations: 4.156 kB / 1.186 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.9176, allocations: 305.1 kB / 1.186 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.9177, allocations: 112.8 kB / 1.186 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.9178, allocations: 7.984 kB / 1.186 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.918, allocations: 11.98 kB / 1.186 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.918, allocations: 12.12 kB / 1.186 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.918, allocations: 4 kB / 1.186 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001996/0.9182, allocations: 201.9 kB / 1.187 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.713e-06/0.9182, allocations: 0 / 1.187 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000481/0.9187, allocations: 95.78 kB / 1.187 GB, free: 4.047 MB / 0.9356 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.001093/0.9198, allocations: 0.8994 MB / 1.188 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004925/0.9203, allocations: 171.7 kB / 1.188 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9203, allocations: 0 / 1.188 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.9205, allocations: 55.91 kB / 1.188 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.9213, allocations: 122.4 kB / 1.188 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.9244, allocations: 2.353 MB / 1.19 GB, free: 276 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.9248, allocations: 0.7597 MB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.9251, allocations: 65.89 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.9252, allocations: 67.42 kB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.9252, allocations: 0 / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.9542, allocations: 6.851 MB / 1.198 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.559, allocations: 3.953 kB / 1.198 GB, free: 8.652 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches