Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.001321/0.001321, allocations: 115.6 kB / 17.17 MB, free: 5.98 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.001417/0.001417, allocations: 218.3 kB / 20.13 MB, free: 3.039 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.425/1.425, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.861/2.861, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 MB / 0.6387 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.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="cs",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.001894/0.001894, allocations: 67.91 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8159, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001452/0.8173, allocations: 0.5371 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001466/0.8175, allocations: 47.3 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.8175, allocations: 0 / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.8175, allocations: 1.719 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.8177, allocations: 5.484 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.517e-05/0.8177, allocations: 7.344 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.8178, allocations: 19.66 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.8178, allocations: 5.562 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.8178, allocations: 11.41 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.8179, allocations: 7.266 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.8179, allocations: 1 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.8179, allocations: 1.062 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.818, allocations: 7.797 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.818, allocations: 5.766 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.576e-05/0.818, allocations: 16.56 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.818, allocations: 0 / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.818, allocations: 4 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.8181, allocations: 1.125 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003399/0.8184, allocations: 331.2 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.8184, allocations: 9.969 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.186e-05/0.8184, allocations: 1.125 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.443e-05/0.8185, allocations: 31.36 kB / 1.341 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.019e-05/0.8185, allocations: 5.922 kB / 1.341 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.8186, allocations: 172.9 kB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.8186, allocations: 5.375 kB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.8186, allocations: 6.078 kB / 1.341 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.536e-05/0.8187, allocations: 36 kB / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.8187, allocations: 0 / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.8187, allocations: 0 / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.8187, allocations: 1.031 kB / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.8187, allocations: 4.422 kB / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.531e-05/0.8188, allocations: 153 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.875e-05/0.8189, allocations: 27.16 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.8189, allocations: 8.375 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.8189, allocations: 1.125 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.8189, allocations: 36.34 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8189, allocations: 0 / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.819, allocations: 44.27 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.8191, allocations: 55.41 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/0.8191, allocations: 117.4 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.8191, allocations: 26.31 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.8191, allocations: 82.17 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.8192, allocations: 9.25 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.8192, allocations: 12.36 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.8192, allocations: 318.1 kB / 1.342 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.8192, allocations: 3.812 kB / 1.342 GB, free: 14.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.8192, allocations: 23.55 kB / 1.342 GB, free: 14.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.8193, allocations: 19.97 kB / 1.342 GB, free: 14.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8193, allocations: 0 / 1.342 GB, free: 14.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.98e-05/0.8193, allocations: 53.56 kB / 1.342 GB, free: 14.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.8193, allocations: 14.08 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.8194, allocations: 0 / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.8194, allocations: 1.188 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.8194, allocations: 4.875 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8194, allocations: 4.969 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.8194, allocations: 5.75 kB / 1.342 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.8195, allocations: 2.562 kB / 1.342 GB, free: 14.17 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 3.632e-05/0.8195, allocations: 107.5 kB / 1.342 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.8195, allocations: 5.969 kB / 1.342 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.8196, allocations: 53.66 kB / 1.342 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8196, allocations: 4.734 kB / 1.342 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.8196, allocations: 1.156 kB / 1.342 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8196, allocations: 4 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.029e-05/0.8196, allocations: 155.5 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8196, allocations: 0 / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.8197, allocations: 4.344 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.8197, allocations: 4.594 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.8197, allocations: 0.9688 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8197, allocations: 0.7031 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8197, allocations: 1.156 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.381e-05/0.8198, allocations: 84.39 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.8198, allocations: 85.05 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.8198, allocations: 5.438 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.8199, allocations: 0.5156 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.8199, allocations: 2.047 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.8199, allocations: 1.828 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.8199, allocations: 88.62 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8199, allocations: 1.031 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001672/0.8201, allocations: 2.094 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0002188/0.8203, allocations: 0.6124 MB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.8204, allocations: 23.95 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8204, allocations: 1.125 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.8204, allocations: 10.44 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.8205, allocations: 1.094 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.8211, allocations: 1.151 MB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.8212, allocations: 0.6831 MB / 1.345 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.8212, allocations: 2.641 kB / 1.345 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.8213, allocations: 14.08 kB / 1.345 GB, free: 11.09 MB / 1.061 GB Notification: Performance of SimCode: time 4.5e-07/0.8213, allocations: 0 / 1.345 GB, free: 11.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.8391, allocations: 1.241 MB / 1.347 GB, free: 10.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.728, allocations: 7.797 kB / 1.347 GB, free: 10.7 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.749247547995765]