Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001425/0.001425, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001603/0.001603, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.943/2.943, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.001903/0.001903, allocations: 68.19 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2766, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2489/0.5255, allocations: 242.3 MB / 1.589 GB, free: 5.25 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.5468, allocations: 15.93 MB / 1.605 GB, free: 5.281 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.5486, allocations: 87.25 kB / 1.605 GB, free: 5.195 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.5513, allocations: 1.08 MB / 1.606 GB, free: 4.109 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.007252/0.5585, allocations: 3.134 MB / 1.609 GB, free: 0.9648 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.6157/1.174, allocations: 1.733 MB / 1.611 GB, free: 6.719 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.004847/1.179, allocations: 3.475 MB / 1.614 GB, free: 6.715 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/1.181, allocations: 1.009 MB / 1.615 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006699/1.188, allocations: 2.886 MB / 1.618 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/1.19, allocations: 1.125 MB / 1.619 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003437/1.191, allocations: 118.9 kB / 1.619 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005492/1.196, allocations: 3.275 MB / 1.623 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0007042/1.197, allocations: 488.9 kB / 1.623 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/1.198, allocations: 0.8132 MB / 1.624 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.00636/1.204, allocations: 2.989 MB / 1.627 GB, free: 6.445 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.204, allocations: 1.219 kB / 1.627 GB, free: 6.445 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.954e-06/1.204, allocations: 1.594 kB / 1.627 GB, free: 6.445 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.855e-05/1.204, allocations: 0 / 1.627 GB, free: 6.445 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.003968/1.208, allocations: 1.995 MB / 1.629 GB, free: 21.44 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/1.208, allocations: 10.38 kB / 1.629 GB, free: 21.44 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/1.209, allocations: 150 kB / 1.629 GB, free: 21.4 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/1.211, allocations: 0.5119 MB / 1.629 GB, free: 21.31 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/1.214, allocations: 1.115 MB / 1.63 GB, free: 20.95 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/1.214, allocations: 76.34 kB / 1.63 GB, free: 20.95 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/1.214, allocations: 103.4 kB / 1.631 GB, free: 20.95 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/1.216, allocations: 1.347 MB / 1.632 GB, free: 20.6 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.216, allocations: 8.359 kB / 1.632 GB, free: 20.6 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.643e-05/1.216, allocations: 43.88 kB / 1.632 GB, free: 20.6 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/1.216, allocations: 46.33 kB / 1.632 GB, free: 20.6 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/1.218, allocations: 1.052 MB / 1.633 GB, free: 20.59 MB / 1.311 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.007963/1.226, allocations: 7.404 MB / 1.64 GB, free: 15.56 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/1.228, allocations: 0.5205 MB / 1.641 GB, free: 15.54 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/1.228, allocations: 246 kB / 1.641 GB, free: 15.53 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/1.229, allocations: 51.28 kB / 1.641 GB, free: 15.53 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.229, allocations: 39.22 kB / 1.641 GB, free: 15.49 MB / 1.311 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/1.229, allocations: 4.75 kB / 1.641 GB, free: 15.49 MB / 1.311 GB Notification: Performance of matching and sorting (n=33): time 0.002202/1.231, allocations: 0.8515 MB / 1.642 GB, free: 15.37 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/1.231, allocations: 55.09 kB / 1.642 GB, free: 15.31 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/1.233, allocations: 1.398 MB / 1.643 GB, free: 15.13 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/1.233, allocations: 36.11 kB / 1.643 GB, free: 15.1 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/1.233, allocations: 0.7226 MB / 1.644 GB, free: 14.82 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/1.233, allocations: 121.2 kB / 1.644 GB, free: 14.75 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/1.234, allocations: 165.3 kB / 1.644 GB, free: 14.72 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.234, allocations: 339.8 kB / 1.645 GB, free: 14.41 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/1.234, allocations: 314.6 kB / 1.645 GB, free: 14.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/1.235, allocations: 0.6902 MB / 1.646 GB, free: 13.94 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/1.237, allocations: 0.9239 MB / 1.647 GB, free: 13.54 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.237, allocations: 4.969 kB / 1.647 GB, free: 13.54 MB / 1.311 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002151/1.239, allocations: 1.059 MB / 1.648 GB, free: 13.43 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.239, allocations: 10.03 kB / 1.648 GB, free: 13.43 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.239, allocations: 11.84 kB / 1.648 GB, free: 13.43 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/1.239, allocations: 17.8 kB / 1.648 GB, free: 13.43 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/1.24, allocations: 200.9 kB / 1.648 GB, free: 13.43 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/1.24, allocations: 25.08 kB / 1.648 GB, free: 13.43 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.241, allocations: 193.5 kB / 1.648 GB, free: 13.36 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/1.241, allocations: 43.95 kB / 1.648 GB, free: 13.36 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001094/1.242, allocations: 0.5696 MB / 1.649 GB, free: 13.27 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008434/1.243, allocations: 0.684 MB / 1.649 GB, free: 12.81 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/1.244, allocations: 0.9274 MB / 1.65 GB, free: 12.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.152e-06/1.244, allocations: 3.656 kB / 1.65 GB, free: 12.4 MB / 1.311 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002041/1.247, allocations: 1.047 MB / 1.651 GB, free: 12.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.247, allocations: 13.47 kB / 1.651 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.247, allocations: 11.03 kB / 1.651 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.247, allocations: 16.97 kB / 1.651 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/1.247, allocations: 204 kB / 1.651 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.247, allocations: 28.22 kB / 1.651 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.249, allocations: 137.4 kB / 1.652 GB, free: 12.28 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/1.249, allocations: 41.38 kB / 1.652 GB, free: 12.28 MB / 1.311 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.0002869/1.249, allocations: 244 kB / 1.652 GB, free: 12.08 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.249, allocations: 146.9 kB / 1.652 GB, free: 12 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.25, allocations: 0.6418 MB / 1.653 GB, free: 11.94 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.25, allocations: 4.906 kB / 1.653 GB, free: 11.94 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.251, allocations: 3 kB / 1.653 GB, free: 11.94 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.251, allocations: 5.219 kB / 1.653 GB, free: 11.94 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/1.254, allocations: 1.866 MB / 1.654 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.254, allocations: 4.766 kB / 1.654 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/1.254, allocations: 89.94 kB / 1.655 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.254, allocations: 4.875 kB / 1.655 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/1.254, allocations: 14.61 kB / 1.655 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.254, allocations: 8.906 kB / 1.655 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.254, allocations: 7.031 kB / 1.655 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/1.255, allocations: 0.8164 MB / 1.655 GB, free: 11.15 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005779/1.256, allocations: 229 kB / 1.656 GB, free: 11.06 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.256, allocations: 9.031 kB / 1.656 GB, free: 11.06 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/1.257, allocations: 74.14 kB / 1.656 GB, free: 11.06 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/1.257, allocations: 36.47 kB / 1.656 GB, free: 11.05 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/1.257, allocations: 22.44 kB / 1.656 GB, free: 11.05 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001314/1.259, allocations: 1.011 MB / 1.657 GB, free: 10.95 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.2e-07/1.259, allocations: 2.375 kB / 1.657 GB, free: 10.95 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001723/1.26, allocations: 0.5735 MB / 1.657 GB, free: 10.9 MB / 1.311 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.001956/1.262, allocations: 1.512 MB / 1.659 GB, free: 9.98 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002325/1.265, allocations: 1.081 MB / 1.66 GB, free: 9.961 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.265, allocations: 1.375 kB / 1.66 GB, free: 9.961 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0005511/1.265, allocations: 255.5 kB / 1.66 GB, free: 9.953 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/1.268, allocations: 0.7521 MB / 1.661 GB, free: 9.812 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.284, allocations: 9.878 MB / 1.67 GB, free: 6.438 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/1.285, allocations: 1.184 MB / 1.672 GB, free: 5.711 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00146/1.286, allocations: 383.7 kB / 1.672 GB, free: 5.621 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/1.287, allocations: 0.4922 MB / 1.672 GB, free: 5.613 MB / 1.311 GB Notification: Performance of SimCode: time 7.31e-07/1.287, allocations: 0 / 1.672 GB, free: 5.613 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07157/1.358, allocations: 36.38 MB / 1.708 GB, free: 14.32 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.84, allocations: 4.188 kB / 1.708 GB, free: 14.32 MB / 1.326 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.855584715958685]