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.0007361/0.0007361, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007803/0.0007803, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8357/0.8357, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 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 1.706/1.706, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.374e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.000894/0.0009077, allocations: 0.5286 MB / 1 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.001033, allocations: 43.81 kB / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.001076, allocations: 0 / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.0011, allocations: 3.938 kB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.001229, allocations: 7.938 kB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.00127, allocations: 3.938 kB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.001326, allocations: 19.92 kB / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.001359, allocations: 3.984 kB / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.001405, allocations: 4 kB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.001463, allocations: 7.984 kB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.001482, allocations: 0 / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.001489, allocations: 0 / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.001536, allocations: 8 kB / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.001557, allocations: 7.938 kB / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.212e-05/0.001609, allocations: 7.984 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00161, allocations: 0 / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.72e-07/0.001611, allocations: 4 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.001615, allocations: 0 / 1 GB, free: 12.88 MB / 0.9636 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.0002883/0.001903, allocations: 262.3 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.001937, allocations: 12.75 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.467e-05/0.001962, allocations: 30.75 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.578e-05/0.001977, allocations: 0.9375 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.002097, allocations: 117.8 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-06/0.002103, allocations: 384 / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.002116, allocations: 384 / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.914e-05/0.002175, allocations: 38.25 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.002181, allocations: 192 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.002186, allocations: 384 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.002191, allocations: 4.125 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.002206, allocations: 7.984 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.002434, allocations: 116.8 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.002475, allocations: 30.53 kB / 1.001 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.002488, allocations: 12.92 kB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.0025, allocations: 0 / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.002517, allocations: 34.56 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.002517, allocations: 3.938 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001068/0.002624, allocations: 45.62 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.002649, allocations: 55.34 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.002708, allocations: 113.8 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.002715, allocations: 25.7 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.002741, allocations: 84.12 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.002758, allocations: 4.078 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.002781, allocations: 21.72 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.002844, allocations: 310.8 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.002856, allocations: 7.984 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.002872, allocations: 17.66 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.0029, allocations: 25.7 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.002902, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.182e-05/0.002944, allocations: 45.62 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.002954, allocations: 8.125 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.002958, allocations: 4 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.002968, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.00302, allocations: 7.938 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.003024, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.003036, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.003041, allocations: 4 kB / 1.002 GB, free: 11.25 MB / 0.9636 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 4.95e-05/0.003091, allocations: 117.7 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.003096, allocations: 11.94 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.003163, allocations: 49.14 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.003165, allocations: 8.031 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.003171, allocations: 3.938 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.003173, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.046e-05/0.003233, allocations: 124.8 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.003234, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.003263, allocations: 4 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.003264, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.003269, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.003271, allocations: 4 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.003273, allocations: 3.938 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.187e-05/0.003355, allocations: 81.05 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.003367, allocations: 4.031 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.003379, allocations: 3.938 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-06/0.003388, allocations: 4.234 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.003401, allocations: 7.938 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.003403, allocations: 4 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.003432, allocations: 91.27 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003432, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001121/0.003544, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 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.0002018/0.003745, allocations: 0.6165 MB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.003808, allocations: 12 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.003809, allocations: 0 / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.607e-06/0.003817, allocations: 7.984 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.74e-05/0.003915, allocations: 7.938 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.004531, allocations: 1.151 MB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.004576, allocations: 67.28 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.566e-05/0.004591, allocations: 4 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.004633, allocations: 12.69 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.004633, allocations: 0 / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.01865, allocations: 1.849 MB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.166/6.185, allocations: 5.438 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB " [Timeout remaining time 294] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/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: 10.100560119375587]