Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 216.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.85/2.85, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 66.61 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2742, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2282/0.5024, allocations: 211.1 MB / 1.532 GB, free: 13.61 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02025/0.5227, allocations: 14.63 MB / 1.546 GB, free: 14.95 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.5245, allocations: 87.25 kB / 1.546 GB, free: 14.86 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.5268, allocations: 1.006 MB / 1.547 GB, free: 13.85 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006784/0.5335, allocations: 3.091 MB / 1.55 GB, free: 10.75 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003797/0.5373, allocations: 1.719 MB / 1.552 GB, free: 9.035 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004161/0.5415, allocations: 3.475 MB / 1.555 GB, free: 5.551 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.5429, allocations: 1.007 MB / 1.556 GB, free: 4.504 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.5492, allocations: 2.877 MB / 1.559 GB, free: 1.629 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.5513, allocations: 1.128 MB / 1.56 GB, free: 0.5078 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.5514, allocations: 120 kB / 1.56 GB, free: 400 kB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00448/0.5559, allocations: 2.587 MB / 1.563 GB, free: 13.8 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.5564, allocations: 482.3 kB / 1.563 GB, free: 13.32 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009291/0.5574, allocations: 0.657 MB / 1.564 GB, free: 12.66 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004402/0.5618, allocations: 2.924 MB / 1.567 GB, free: 9.73 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5618, allocations: 0 / 1.567 GB, free: 9.73 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5618, allocations: 3.938 kB / 1.567 GB, free: 9.727 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.5618, allocations: 4 kB / 1.567 GB, free: 9.723 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003431/0.5652, allocations: 1.987 MB / 1.569 GB, free: 7.695 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.5652, allocations: 12.03 kB / 1.569 GB, free: 7.684 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.5654, allocations: 156.2 kB / 1.569 GB, free: 7.523 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.5681, allocations: 0.5102 MB / 1.57 GB, free: 7.012 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.5705, allocations: 1.113 MB / 1.571 GB, free: 5.852 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.5706, allocations: 78 kB / 1.571 GB, free: 5.773 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5708, allocations: 96 kB / 1.571 GB, free: 5.68 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.5732, allocations: 1.455 MB / 1.572 GB, free: 4.082 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.5732, allocations: 7.938 kB / 1.572 GB, free: 4.074 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5733, allocations: 44 kB / 1.572 GB, free: 4.031 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/0.5733, allocations: 42 kB / 1.572 GB, free: 3.988 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.5756, allocations: 1.054 MB / 1.573 GB, free: 2.934 MB / 1.264 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.007085/0.5827, allocations: 5.994 MB / 1.579 GB, free: 12.72 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.5842, allocations: 0.5192 MB / 1.58 GB, free: 12.19 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.5847, allocations: 257.1 kB / 1.58 GB, free: 11.94 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.585, allocations: 52.23 kB / 1.58 GB, free: 11.89 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.585, allocations: 38.84 kB / 1.58 GB, free: 11.84 MB / 1.279 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.585, allocations: 0 / 1.58 GB, free: 11.84 MB / 1.279 GB Notification: Performance of matching and sorting (n=33): time 0.00223/0.5873, allocations: 0.8416 MB / 1.581 GB, free: 10.99 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.5873, allocations: 55.41 kB / 1.581 GB, free: 10.93 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.5891, allocations: 1.423 MB / 1.582 GB, free: 9.492 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.5891, allocations: 33.7 kB / 1.582 GB, free: 9.453 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005735/0.5897, allocations: 0.7197 MB / 1.583 GB, free: 8.73 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.5898, allocations: 127 kB / 1.583 GB, free: 8.605 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.5901, allocations: 162.5 kB / 1.583 GB, free: 8.441 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5902, allocations: 337.9 kB / 1.584 GB, free: 8.105 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/0.591, allocations: 316.6 kB / 1.584 GB, free: 7.793 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.5922, allocations: 0.9572 MB / 1.585 GB, free: 6.594 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.5939, allocations: 0.9254 MB / 1.586 GB, free: 5.508 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5939, allocations: 4 kB / 1.586 GB, free: 5.504 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002267/0.5962, allocations: 1.073 MB / 1.587 GB, free: 4.422 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5962, allocations: 8.938 kB / 1.587 GB, free: 4.414 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.5962, allocations: 12 kB / 1.587 GB, free: 4.402 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.5962, allocations: 16 kB / 1.587 GB, free: 4.387 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.5971, allocations: 199.7 kB / 1.587 GB, free: 4.191 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.5971, allocations: 23.92 kB / 1.587 GB, free: 4.168 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.5983, allocations: 191 kB / 1.587 GB, free: 3.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.5984, allocations: 40 kB / 1.587 GB, free: 3.941 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/0.5995, allocations: 0.5643 MB / 1.588 GB, free: 3.375 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001205/0.6007, allocations: 0.9689 MB / 1.589 GB, free: 2.164 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001632/0.6023, allocations: 0.9295 MB / 1.59 GB, free: 1.074 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.948e-06/0.6023, allocations: 0 / 1.59 GB, free: 1.074 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002198/0.6045, allocations: 1.055 MB / 1.591 GB, free: 12 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.6046, allocations: 12.19 kB / 1.591 GB, free: 0 / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.6046, allocations: 12.05 kB / 1.591 GB, free: 15.98 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6046, allocations: 19.94 kB / 1.591 GB, free: 15.96 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.6054, allocations: 199.6 kB / 1.591 GB, free: 15.77 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.6054, allocations: 23.94 kB / 1.591 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.6066, allocations: 138.6 kB / 1.591 GB, free: 15.62 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.6067, allocations: 47.98 kB / 1.591 GB, free: 15.57 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002422/0.607, allocations: 237.6 kB / 1.591 GB, free: 15.33 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6072, allocations: 151 kB / 1.592 GB, free: 15.18 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.6088, allocations: 0.6446 MB / 1.592 GB, free: 14.52 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6088, allocations: 0 / 1.592 GB, free: 14.52 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6088, allocations: 4 kB / 1.592 GB, free: 14.52 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6088, allocations: 96 / 1.592 GB, free: 14.52 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.6121, allocations: 1.756 MB / 1.594 GB, free: 12.66 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6121, allocations: 11.88 kB / 1.594 GB, free: 12.65 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.6126, allocations: 96.05 kB / 1.594 GB, free: 12.56 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.6126, allocations: 4 kB / 1.594 GB, free: 12.55 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.6126, allocations: 15.94 kB / 1.594 GB, free: 12.54 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.6127, allocations: 4 kB / 1.594 GB, free: 12.54 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.6127, allocations: 7.938 kB / 1.594 GB, free: 12.53 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.6141, allocations: 0.8081 MB / 1.595 GB, free: 11.65 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/0.6146, allocations: 230.8 kB / 1.595 GB, free: 11.43 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.6148, allocations: 8 kB / 1.595 GB, free: 11.42 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/0.6158, allocations: 67.92 kB / 1.595 GB, free: 11.35 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.6159, allocations: 39.83 kB / 1.595 GB, free: 11.31 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.6159, allocations: 19.98 kB / 1.595 GB, free: 11.29 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001406/0.6173, allocations: 1.013 MB / 1.596 GB, free: 10.29 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6173, allocations: 0 / 1.596 GB, free: 10.29 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001681/0.619, allocations: 0.5813 MB / 1.597 GB, free: 9.703 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002125/0.6211, allocations: 1.505 MB / 1.598 GB, free: 8.125 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.6237, allocations: 1.086 MB / 1.599 GB, free: 7.043 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6237, allocations: 0 / 1.599 GB, free: 7.043 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/0.6244, allocations: 253.4 kB / 1.599 GB, free: 6.797 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.6273, allocations: 0.7372 MB / 1.6 GB, free: 6.062 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5202/1.148, allocations: 9.861 MB / 1.61 GB, free: 277.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/1.148, allocations: 0.5953 MB / 1.61 GB, free: 277.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001264/1.149, allocations: 393.2 kB / 1.611 GB, free: 277.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/1.15, allocations: 0.4889 MB / 1.611 GB, free: 277.6 MB / 1.295 GB Notification: Performance of SimCode: time 9.42e-07/1.15, allocations: 0 / 1.611 GB, free: 277.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06944/1.219, allocations: 39.52 MB / 1.65 GB, free: 259.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.57, allocations: 9.469 kB / 1.65 GB, free: 259.7 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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: 18.52272492198972]