Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001686/0.001686, allocations: 110.6 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.002133/0.002133, allocations: 220.8 kB / 22.26 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_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.002045/0.002045, allocations: 65.91 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3509, allocations: 169.9 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001802/0.3527, allocations: 0.538 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.3528, allocations: 15.91 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.3528, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.3529, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.353, allocations: 15.98 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.526e-06/0.353, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.3531, allocations: 7.938 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.3531, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.3532, allocations: 7.922 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.3532, allocations: 4 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3532, allocations: 0 / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-06/0.3532, allocations: 0 / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.3532, allocations: 0 / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.3532, allocations: 0 / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 4.884e-05/0.3533, allocations: 7.922 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3533, allocations: 8 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3533, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3533, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 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.0002993/0.3536, allocations: 242 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3536, allocations: 8.031 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.3537, allocations: 34.75 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.3537, allocations: 4.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.589e-05/0.3538, allocations: 106.5 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.3538, allocations: 384 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.3538, allocations: 8.312 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3539, allocations: 43.98 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3539, allocations: 7.922 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3539, allocations: 4 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3539, allocations: 0 / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.354, allocations: 3.938 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.3541, allocations: 129.6 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/0.3542, allocations: 37.28 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.3542, allocations: 17.7 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3542, allocations: 4.062 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3542, allocations: 34.5 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3542, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.3544, allocations: 49.58 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.3545, allocations: 85.09 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.3545, allocations: 89.86 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3545, allocations: 25.7 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.3546, allocations: 80.14 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3546, allocations: 3.953 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3546, allocations: 18.09 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3547, allocations: 314.8 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.3548, allocations: 4 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.3548, allocations: 13.8 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.3548, allocations: 25.59 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3548, allocations: 4 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.178e-05/0.3549, allocations: 37.77 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3549, allocations: 7.938 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3549, allocations: 0 / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3549, allocations: 3.984 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.355, allocations: 4 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.355, allocations: 3.938 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.355, allocations: 4 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.355, allocations: 0 / 1.285 GB, free: 9.305 MB / 0.9825 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.925e-05/0.3551, allocations: 117.8 kB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.3551, allocations: 12 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3552, allocations: 48.62 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3552, allocations: 0 / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3552, allocations: 0 / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3552, allocations: 0 / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.976e-05/0.3553, allocations: 120.8 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3553, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.3553, allocations: 4 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3553, allocations: 8 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3554, allocations: 7.938 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3554, allocations: 4 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3554, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/0.3555, allocations: 69.92 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.3555, allocations: 8 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3555, allocations: 3.938 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.3555, allocations: 4.031 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.3555, allocations: 3.984 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3555, allocations: 4 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.3556, allocations: 75.28 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3556, allocations: 0 / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001942/0.3558, allocations: 0 / 1.286 GB, free: 8.746 MB / 0.9825 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.0004061/0.3562, allocations: 0.6133 MB / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.746e-05/0.3562, allocations: 11.94 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3562, allocations: 0 / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.3563, allocations: 4 kB / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3564, allocations: 4.219 kB / 1.286 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.3567, allocations: 127.5 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.357, allocations: 0.6729 MB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.357, allocations: 0 / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.357, allocations: 11.44 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.357, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3829, allocations: 1.033 MB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.12, allocations: 9.391 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_11_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.96529752800052]