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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 109.5 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.00178, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7171 GB, free: 4.105 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 1.027 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.828, allocations: 151.6 MB / 1.175 GB, free: 17.42 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1955/1.023, allocations: 161.5 MB / 1.332 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003154/1.027, allocations: 1.698 MB / 1.334 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/1.027, allocations: 15.94 kB / 1.334 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006393/1.028, allocations: 155 kB / 1.334 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/1.029, allocations: 0.5141 MB / 1.335 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/1.03, allocations: 433.2 kB / 1.335 GB, free: 4.207 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007785/1.031, allocations: 0.5615 MB / 1.336 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/1.031, allocations: 184.4 kB / 1.336 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006224/1.032, allocations: 322.7 kB / 1.336 GB, free: 3.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/1.032, allocations: 151.3 kB / 1.336 GB, free: 2.996 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/1.032, allocations: 12 kB / 1.336 GB, free: 2.984 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/1.033, allocations: 0.6938 MB / 1.337 GB, free: 2.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/1.034, allocations: 75.72 kB / 1.337 GB, free: 2.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/1.034, allocations: 119.3 kB / 1.337 GB, free: 2.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008492/1.035, allocations: 0.4982 MB / 1.338 GB, free: 1.598 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.035, allocations: 0 / 1.338 GB, free: 1.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/1.035, allocations: 0 / 1.338 GB, free: 1.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.035, allocations: 0 / 1.338 GB, free: 1.598 MB / 1.045 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.00101/1.036, allocations: 0.5911 MB / 1.338 GB, free: 0.957 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.036, allocations: 8.625 kB / 1.338 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/1.036, allocations: 46.55 kB / 1.338 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/1.036, allocations: 59.77 kB / 1.338 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/1.037, allocations: 309.5 kB / 1.339 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.037, allocations: 8 kB / 1.339 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/1.037, allocations: 16 kB / 1.339 GB, free: 484 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/1.037, allocations: 200.1 kB / 1.339 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.037, allocations: 0 / 1.339 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/1.037, allocations: 4 kB / 1.339 GB, free: 264 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/1.037, allocations: 4 kB / 1.339 GB, free: 260 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/1.038, allocations: 124.6 kB / 1.339 GB, free: 136 kB / 1.045 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.00111/1.039, allocations: 0.7849 MB / 1.34 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/1.039, allocations: 86.45 kB / 1.34 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/1.039, allocations: 80.81 kB / 1.34 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/1.039, allocations: 190.2 kB / 1.34 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/1.039, allocations: 30.56 kB / 1.34 GB, free: 14.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/1.039, allocations: 0 / 1.34 GB, free: 14.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006874/1.04, allocations: 221.3 kB / 1.34 GB, free: 14.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.04, allocations: 51.41 kB / 1.34 GB, free: 14.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/1.04, allocations: 271 kB / 1.341 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/1.041, allocations: 25.7 kB / 1.341 GB, free: 14.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/1.041, allocations: 151.9 kB / 1.341 GB, free: 14.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/1.041, allocations: 43.67 kB / 1.341 GB, free: 14.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/1.041, allocations: 33.7 kB / 1.341 GB, free: 14.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.041, allocations: 334.8 kB / 1.341 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/1.041, allocations: 44.83 kB / 1.341 GB, free: 13.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.041, allocations: 93.05 kB / 1.341 GB, free: 13.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/1.042, allocations: 123.4 kB / 1.341 GB, free: 13.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.042, allocations: 3.938 kB / 1.341 GB, free: 13.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003566/1.042, allocations: 153.4 kB / 1.342 GB, free: 13.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.042, allocations: 4 kB / 1.342 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.042, allocations: 7.969 kB / 1.342 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.042, allocations: 4 kB / 1.342 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.042, allocations: 23.98 kB / 1.342 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.042, allocations: 3.984 kB / 1.342 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.042, allocations: 23.88 kB / 1.342 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/1.042, allocations: 4 kB / 1.342 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002073/1.043, allocations: 152.6 kB / 1.342 GB, free: 13.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001689/1.043, allocations: 97.05 kB / 1.342 GB, free: 12.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002557/1.043, allocations: 119.4 kB / 1.342 GB, free: 12.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/1.043, allocations: 0 / 1.342 GB, free: 12.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003251/1.043, allocations: 157.4 kB / 1.342 GB, free: 12.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/1.043, allocations: 4 kB / 1.342 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.043, allocations: 4 kB / 1.342 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/1.043, allocations: 3.938 kB / 1.342 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/1.043, allocations: 27.92 kB / 1.342 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-06/1.043, allocations: 0 / 1.342 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/1.044, allocations: 24.09 kB / 1.342 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/1.044, allocations: 8.031 kB / 1.342 GB, free: 12.54 MB / 1.061 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.0001228/1.044, allocations: 189 kB / 1.342 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/1.044, allocations: 19.86 kB / 1.342 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/1.044, allocations: 167.2 kB / 1.343 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.044, allocations: 0 / 1.343 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.044, allocations: 0 / 1.343 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.044, allocations: 0 / 1.343 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/1.045, allocations: 0.5861 MB / 1.343 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.045, allocations: 15.98 kB / 1.343 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/1.045, allocations: 23.92 kB / 1.343 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.045, allocations: 4 kB / 1.343 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/1.045, allocations: 0 / 1.343 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/1.045, allocations: 4 kB / 1.343 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.045, allocations: 4 kB / 1.343 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/1.046, allocations: 293.2 kB / 1.344 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.046, allocations: 116.9 kB / 1.344 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/1.046, allocations: 8 kB / 1.344 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/1.046, allocations: 11.98 kB / 1.344 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/1.046, allocations: 15.92 kB / 1.344 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.046, allocations: 4.375 kB / 1.344 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000191/1.046, allocations: 194 kB / 1.344 GB, free: 10.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.046, allocations: 4 kB / 1.344 GB, free: 10.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004495/1.047, allocations: 95.81 kB / 1.344 GB, free: 10.66 MB / 1.061 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.001038/1.048, allocations: 0.9037 MB / 1.345 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000478/1.048, allocations: 155.8 kB / 1.345 GB, free: 9.562 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.048, allocations: 8.125 kB / 1.345 GB, free: 9.555 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.049, allocations: 63.83 kB / 1.345 GB, free: 9.492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/1.049, allocations: 120.1 kB / 1.345 GB, free: 9.379 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/1.052, allocations: 2.367 MB / 1.347 GB, free: 6.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/1.053, allocations: 0.7558 MB / 1.348 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002035/1.053, allocations: 69.88 kB / 1.348 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/1.053, allocations: 71.41 kB / 1.348 GB, free: 5.957 MB / 1.061 GB Notification: Performance of SimCode: time 2.3e-07/1.053, allocations: 0 / 1.348 GB, free: 5.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/1.083, allocations: 6.912 MB / 1.355 GB, free: 15.2 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/9.172, allocations: 12.53 kB / 1.355 GB, free: 15.19 MB / 1.076 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.975794655969366]