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.001639/0.001639, allocations: 100.8 kB / 16.45 MB, free: 6.449 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.001771/0.001771, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] 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 3.004/3.004, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.001931/0.001931, allocations: 63.03 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2969, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2634/0.5603, allocations: 241.6 MB / 1.557 GB, free: 0.8359 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.5843, allocations: 15.84 MB / 1.572 GB, free: 0.9531 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.5863, allocations: 87.25 kB / 1.572 GB, free: 0.8672 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.5892, allocations: 1.084 MB / 1.573 GB, free: 15.78 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.007682/0.5969, allocations: 3.087 MB / 1.576 GB, free: 12.68 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.6011, allocations: 1.697 MB / 1.578 GB, free: 10.99 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.6062, allocations: 3.429 MB / 1.581 GB, free: 7.555 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.608, allocations: 1.08 MB / 1.582 GB, free: 6.441 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00704/0.615, allocations: 2.837 MB / 1.585 GB, free: 3.605 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.6174, allocations: 1.121 MB / 1.586 GB, free: 2.492 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.6177, allocations: 116 kB / 1.586 GB, free: 2.379 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005886/0.6236, allocations: 3.235 MB / 1.59 GB, free: 15.14 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0007471/0.6244, allocations: 494.2 kB / 1.59 GB, free: 14.65 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.6258, allocations: 0.8123 MB / 1.591 GB, free: 13.84 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.006653/0.6324, allocations: 2.99 MB / 1.594 GB, free: 10.84 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6324, allocations: 4 kB / 1.594 GB, free: 10.83 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6324, allocations: 0 / 1.594 GB, free: 10.83 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.324e-05/0.6325, allocations: 0 / 1.594 GB, free: 10.83 MB / 1.295 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.003981/0.6365, allocations: 2.064 MB / 1.596 GB, free: 8.707 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6365, allocations: 15.98 kB / 1.596 GB, free: 8.691 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.6367, allocations: 156.2 kB / 1.596 GB, free: 8.531 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.6397, allocations: 0.5102 MB / 1.596 GB, free: 8.02 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.6422, allocations: 1.197 MB / 1.598 GB, free: 6.77 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.6423, allocations: 78 kB / 1.598 GB, free: 6.691 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.6424, allocations: 100 kB / 1.598 GB, free: 6.594 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.645, allocations: 1.354 MB / 1.599 GB, free: 5.121 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.645, allocations: 7.938 kB / 1.599 GB, free: 5.113 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.6451, allocations: 40 kB / 1.599 GB, free: 5.074 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.6452, allocations: 42 kB / 1.599 GB, free: 5.031 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.6477, allocations: 1.054 MB / 1.6 GB, free: 3.977 MB / 1.295 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.5571/1.205, allocations: 7.47 MB / 1.607 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.207, allocations: 0.5197 MB / 1.608 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/1.207, allocations: 247.7 kB / 1.608 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/1.208, allocations: 283.8 kB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.208, allocations: 37.09 kB / 1.609 GB, free: 279.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 3.015e-06/1.208, allocations: 3.719 kB / 1.609 GB, free: 279.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.003142/1.211, allocations: 0.8531 MB / 1.609 GB, free: 279.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.211, allocations: 54.56 kB / 1.609 GB, free: 279.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/1.214, allocations: 1.4 MB / 1.611 GB, free: 279.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-05/1.214, allocations: 36.7 kB / 1.611 GB, free: 279.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/1.214, allocations: 0.7205 MB / 1.612 GB, free: 278.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/1.214, allocations: 127 kB / 1.612 GB, free: 278.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/1.215, allocations: 163.6 kB / 1.612 GB, free: 278.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/1.215, allocations: 332.6 kB / 1.612 GB, free: 278.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/1.216, allocations: 315.5 kB / 1.612 GB, free: 278.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.217, allocations: 0.6893 MB / 1.613 GB, free: 277.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/1.218, allocations: 0.9278 MB / 1.614 GB, free: 277.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.218, allocations: 3.719 kB / 1.614 GB, free: 277.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002572/1.221, allocations: 1.059 MB / 1.615 GB, free: 276.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.221, allocations: 15.16 kB / 1.615 GB, free: 276.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/1.221, allocations: 13.06 kB / 1.615 GB, free: 276.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/1.221, allocations: 14.97 kB / 1.615 GB, free: 276.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/1.222, allocations: 205.2 kB / 1.615 GB, free: 276.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/1.222, allocations: 21.81 kB / 1.615 GB, free: 276.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.223, allocations: 183.1 kB / 1.615 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/1.223, allocations: 46.64 kB / 1.616 GB, free: 276.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/1.225, allocations: 0.5736 MB / 1.616 GB, free: 276.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001004/1.226, allocations: 0.6801 MB / 1.617 GB, free: 275.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001605/1.227, allocations: 0.9303 MB / 1.618 GB, free: 275.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.148e-05/1.227, allocations: 3.656 kB / 1.618 GB, free: 275.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002856/1.23, allocations: 1.054 MB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.23, allocations: 9.5 kB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.23, allocations: 11.72 kB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/1.23, allocations: 24.42 kB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/1.231, allocations: 200.4 kB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/1.231, allocations: 26.67 kB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.233, allocations: 129.9 kB / 1.619 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.233, allocations: 50.33 kB / 1.619 GB, free: 274.8 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.0002684/1.233, allocations: 233.7 kB / 1.619 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/1.233, allocations: 150.7 kB / 1.619 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/1.235, allocations: 0.6407 MB / 1.62 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.235, allocations: 3.531 kB / 1.62 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.235, allocations: 5.234 kB / 1.62 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/1.235, allocations: 1.312 kB / 1.62 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/1.24, allocations: 1.897 MB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.24, allocations: 3.953 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/1.24, allocations: 86.86 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.24, allocations: 6.844 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/1.24, allocations: 16.61 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.24, allocations: 10.66 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.24, allocations: 8.406 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/1.242, allocations: 0.81 MB / 1.623 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/1.243, allocations: 311 kB / 1.623 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/1.243, allocations: 17.59 kB / 1.623 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.244, allocations: 66.53 kB / 1.623 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.244, allocations: 34.44 kB / 1.623 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/1.244, allocations: 24.19 kB / 1.623 GB, free: 272.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001745/1.246, allocations: 1.014 MB / 1.624 GB, free: 272.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.7e-07/1.246, allocations: 1.219 kB / 1.624 GB, free: 272.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002594/1.249, allocations: 0.5771 MB / 1.625 GB, free: 272.2 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.002276/1.251, allocations: 1.502 MB / 1.626 GB, free: 271.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003058/1.254, allocations: 1.094 MB / 1.627 GB, free: 270.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.254, allocations: 0 / 1.627 GB, free: 270.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006943/1.255, allocations: 243.2 kB / 1.628 GB, free: 270.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/1.258, allocations: 0.7569 MB / 1.628 GB, free: 270.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.275, allocations: 9.874 MB / 1.638 GB, free: 265.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/1.276, allocations: 1.187 MB / 1.639 GB, free: 264.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001515/1.277, allocations: 380.7 kB / 1.64 GB, free: 264.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/1.278, allocations: 0.4939 MB / 1.64 GB, free: 264.2 MB / 1.295 GB Notification: Performance of SimCode: time 8.72e-07/1.278, allocations: 1.375 kB / 1.64 GB, free: 264.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06066/1.339, allocations: 35.8 MB / 1.675 GB, free: 233.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.64, allocations: 3.938 kB / 1.675 GB, free: 233.7 MB / 1.295 GB " [Timeout remaining time 288] (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: 17.906761443940923]