Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_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.00755/0.00755, allocations: 100.6 kB / 15.73 MB, free: 5.562 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.00151/0.00151, allocations: 198.3 kB / 16.67 MB, free: 5.504 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.282/1.282, 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 11.0.1-master/package.mo): time 2.472/2.472, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8227/0.824, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1691/0.9932, allocations: 161.5 MB / 1.365 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003326/0.9966, allocations: 1.704 MB / 1.367 GB, free: 9.688 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.9971, allocations: 15.88 kB / 1.367 GB, free: 9.672 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.9977, allocations: 151 kB / 1.367 GB, free: 9.523 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.9992, allocations: 0.5056 MB / 1.367 GB, free: 9.016 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/1.001, allocations: 441 kB / 1.368 GB, free: 8.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008941/1.001, allocations: 0.5654 MB / 1.368 GB, free: 8.023 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/1.002, allocations: 184.4 kB / 1.368 GB, free: 7.84 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/1.003, allocations: 318.7 kB / 1.369 GB, free: 7.527 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/1.003, allocations: 151.2 kB / 1.369 GB, free: 7.379 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/1.003, allocations: 16 kB / 1.369 GB, free: 7.363 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/1.004, allocations: 0.6976 MB / 1.37 GB, free: 6.664 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/1.004, allocations: 75.8 kB / 1.37 GB, free: 6.59 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/1.004, allocations: 123.3 kB / 1.37 GB, free: 6.469 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009163/1.005, allocations: 498.5 kB / 1.37 GB, free: 5.98 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/1.005, allocations: 0 / 1.37 GB, free: 5.98 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.514e-06/1.005, allocations: 0 / 1.37 GB, free: 5.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.005, allocations: 4 kB / 1.37 GB, free: 5.977 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001033/1.006, allocations: 0.5877 MB / 1.371 GB, free: 5.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.006, allocations: 12.03 kB / 1.371 GB, free: 5.328 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/1.007, allocations: 46.55 kB / 1.371 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/1.007, allocations: 55.59 kB / 1.371 GB, free: 5.219 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/1.007, allocations: 297.3 kB / 1.371 GB, free: 4.891 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.007, allocations: 20 kB / 1.371 GB, free: 4.871 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/1.007, allocations: 12 kB / 1.371 GB, free: 4.859 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/1.008, allocations: 184.7 kB / 1.371 GB, free: 4.664 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.008, allocations: 0 / 1.371 GB, free: 4.664 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/1.008, allocations: 7.984 kB / 1.371 GB, free: 4.656 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/1.008, allocations: 4 kB / 1.371 GB, free: 4.652 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/1.008, allocations: 139.8 kB / 1.372 GB, free: 4.516 MB / 1.092 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.001078/1.009, allocations: 0.7768 MB / 1.372 GB, free: 3.668 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/1.01, allocations: 86.59 kB / 1.372 GB, free: 3.574 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/1.01, allocations: 80.8 kB / 1.373 GB, free: 3.492 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/1.01, allocations: 178.2 kB / 1.373 GB, free: 3.281 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/1.01, allocations: 38.56 kB / 1.373 GB, free: 3.234 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 3.777e-06/1.01, allocations: 4 kB / 1.373 GB, free: 3.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006604/1.011, allocations: 217.2 kB / 1.373 GB, free: 3.012 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.011, allocations: 55.34 kB / 1.373 GB, free: 2.945 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/1.011, allocations: 267 kB / 1.373 GB, free: 2.676 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/1.011, allocations: 38.08 kB / 1.373 GB, free: 2.633 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.011, allocations: 144 kB / 1.373 GB, free: 2.488 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/1.011, allocations: 35.45 kB / 1.373 GB, free: 2.453 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/1.011, allocations: 25.72 kB / 1.373 GB, free: 2.422 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.011, allocations: 338.8 kB / 1.374 GB, free: 2.082 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/1.012, allocations: 40.83 kB / 1.374 GB, free: 2.039 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/1.012, allocations: 101.1 kB / 1.374 GB, free: 1.922 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/1.012, allocations: 119.4 kB / 1.374 GB, free: 1.793 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.012, allocations: 3.938 kB / 1.374 GB, free: 1.789 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003574/1.012, allocations: 165.2 kB / 1.374 GB, free: 1.621 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.012, allocations: 4 kB / 1.374 GB, free: 1.617 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.012, allocations: 7.938 kB / 1.374 GB, free: 1.609 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.013, allocations: 144 / 1.374 GB, free: 1.609 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/1.013, allocations: 19.98 kB / 1.374 GB, free: 1.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.013, allocations: 4 kB / 1.374 GB, free: 1.586 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/1.013, allocations: 27.89 kB / 1.374 GB, free: 1.559 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/1.013, allocations: 8.031 kB / 1.374 GB, free: 1.551 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002011/1.013, allocations: 144.1 kB / 1.374 GB, free: 1.406 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001556/1.013, allocations: 93.05 kB / 1.374 GB, free: 1.297 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000272/1.014, allocations: 115.4 kB / 1.375 GB, free: 1.172 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/1.014, allocations: 3.984 kB / 1.375 GB, free: 1.168 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003353/1.014, allocations: 161.2 kB / 1.375 GB, free: 1.004 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.014, allocations: 8 kB / 1.375 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/1.014, allocations: 0 / 1.375 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/1.014, allocations: 3.938 kB / 1.375 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/1.014, allocations: 24.02 kB / 1.375 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/1.014, allocations: 4 kB / 1.375 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/1.014, allocations: 19.89 kB / 1.375 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.014, allocations: 4 kB / 1.375 GB, free: 0.9414 MB / 1.092 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.0001183/1.014, allocations: 192.2 kB / 1.375 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/1.014, allocations: 19.81 kB / 1.375 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/1.015, allocations: 171.5 kB / 1.375 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.015, allocations: 96 / 1.375 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.015, allocations: 3.938 kB / 1.375 GB, free: 0.543 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.015, allocations: 3.984 kB / 1.375 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/1.016, allocations: 0.5822 MB / 1.376 GB, free: 15.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.016, allocations: 4 kB / 1.376 GB, free: 15.87 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/1.016, allocations: 27.92 kB / 1.376 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.016, allocations: 4 kB / 1.376 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.016, allocations: 4 kB / 1.376 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.016, allocations: 0 / 1.376 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.016, allocations: 4.406 kB / 1.376 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/1.016, allocations: 301.1 kB / 1.376 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/1.016, allocations: 124.6 kB / 1.376 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/1.016, allocations: 8.047 kB / 1.376 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/1.017, allocations: 11.98 kB / 1.376 GB, free: 15.34 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/1.017, allocations: 15.88 kB / 1.376 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.017, allocations: 12 kB / 1.376 GB, free: 15.32 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001749/1.017, allocations: 197.9 kB / 1.376 GB, free: 15.13 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.017, allocations: 0 / 1.376 GB, free: 15.13 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004383/1.017, allocations: 91.84 kB / 1.377 GB, free: 15.04 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.0009218/1.018, allocations: 0.8859 MB / 1.377 GB, free: 14.11 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004569/1.019, allocations: 171.7 kB / 1.378 GB, free: 13.95 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.019, allocations: 0 / 1.378 GB, free: 13.95 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/1.019, allocations: 55.91 kB / 1.378 GB, free: 13.89 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/1.02, allocations: 129.7 kB / 1.378 GB, free: 13.77 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/1.022, allocations: 2.339 MB / 1.38 GB, free: 11.29 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/1.023, allocations: 0.7597 MB / 1.381 GB, free: 10.51 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002256/1.023, allocations: 61.89 kB / 1.381 GB, free: 10.45 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/1.023, allocations: 75.42 kB / 1.381 GB, free: 10.37 MB / 1.107 GB Notification: Performance of SimCode: time 3.11e-07/1.023, allocations: 0 / 1.381 GB, free: 10.37 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/1.05, allocations: 7.005 MB / 1.388 GB, free: 3.539 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.858, allocations: 7 kB / 1.388 GB, free: 3.535 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches