Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.001476/0.001476, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001329/0.001329, allocations: 216.4 kB / 22.25 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 7.789 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 3.022/3.022, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",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.002197/0.002197, allocations: 67.91 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3333, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001761/0.3351, allocations: 0.5399 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.3352, allocations: 15.91 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.3353, allocations: 0 / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.3353, allocations: 0 / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3354, allocations: 7.938 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.429e-06/0.3354, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.3355, allocations: 4 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.3355, allocations: 7.984 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.3356, allocations: 7.938 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.3356, allocations: 3.984 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3356, allocations: 0 / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-06/0.3356, allocations: 0 / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.3356, allocations: 0 / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.3356, allocations: 8 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.018e-05/0.3357, allocations: 3.938 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3357, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 7.654e-06/0.3357, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3357, allocations: 3.938 kB / 1.364 GB, free: 13.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002981/0.336, allocations: 242.7 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3361, allocations: 12.03 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.3361, allocations: 38.67 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.3361, allocations: 0.9375 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3362, allocations: 106.5 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3362, allocations: 384 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.3362, allocations: 384 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3363, allocations: 44.39 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3364, allocations: 3.938 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.3364, allocations: 4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3364, allocations: 3.984 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.3364, allocations: 11.92 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.3366, allocations: 129.6 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.3366, allocations: 37.28 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.3367, allocations: 13.66 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3367, allocations: 4.062 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3367, allocations: 38.55 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3367, allocations: 0 / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.3369, allocations: 49.8 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.3369, allocations: 77.11 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.337, allocations: 97.84 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.337, allocations: 25.7 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.3371, allocations: 84.14 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3371, allocations: 3.953 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.3371, allocations: 9.719 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3373, allocations: 318.8 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.3373, allocations: 0 / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.3373, allocations: 17.66 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.3373, allocations: 29.86 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3373, allocations: 0 / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.084e-05/0.3374, allocations: 37.7 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3374, allocations: 11.88 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3374, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3374, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.3375, allocations: 7.984 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3375, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.3375, allocations: 64 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3375, allocations: 8 kB / 1.365 GB, free: 11.83 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 7.626e-05/0.3376, allocations: 109.8 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.3376, allocations: 11.89 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.3377, allocations: 48.62 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3377, allocations: 3.938 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3378, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3378, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.3379, allocations: 124.7 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3379, allocations: 8.062 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.3379, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3379, allocations: 3.938 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3379, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3379, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3379, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.49e-05/0.338, allocations: 69.92 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.338, allocations: 4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.338, allocations: 7.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.3381, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.3381, allocations: 8.031 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3381, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.3381, allocations: 79.27 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001712/0.3383, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004247/0.3387, allocations: 0.6015 MB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.141e-05/0.3388, allocations: 8 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3388, allocations: 256 / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.3388, allocations: 15.88 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.3389, allocations: 4 kB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.3393, allocations: 111.6 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.274e-05/0.3393, allocations: 55.36 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.3394, allocations: 4 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.3394, allocations: 11.42 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3394, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.3677, allocations: 1.427 MB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.7, allocations: 6.297 kB / 1.368 GB, free: 9.051 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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: 16.872760745696723]