Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001589/0.001589, 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.001763/0.001763, allocations: 210.5 kB / 22.24 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.014/3.014, allocations: 0.4892 GB / 0.7943 GB, free: 35.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Example5,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example5",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.002007/0.002007, allocations: 71.14 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.312, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001629/0.3136, allocations: 0.5318 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.3138, allocations: 40.28 kB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.3138, allocations: 0 / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.3138, allocations: 3.938 kB / 1.326 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3139, allocations: 4 kB / 1.326 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.308e-05/0.314, allocations: 11.98 kB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.3141, allocations: 7.938 kB / 1.326 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.3141, allocations: 4 kB / 1.326 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.3141, allocations: 7.984 kB / 1.326 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.3142, allocations: 7.938 kB / 1.326 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3142, allocations: 4 kB / 1.326 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.3142, allocations: 4 kB / 1.326 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.3143, allocations: 7.969 kB / 1.326 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.3143, allocations: 7.938 kB / 1.326 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.344e-05/0.3144, allocations: 8.219 kB / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3144, allocations: 0 / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3144, allocations: 0 / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.3144, allocations: 0 / 1.326 GB, free: 1.703 MB / 1.014 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.0003932/0.3148, allocations: 258.3 kB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3148, allocations: 11.97 kB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.3148, allocations: 38.69 kB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.858e-05/0.3148, allocations: 8.875 kB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.315, allocations: 122.5 kB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.315, allocations: 4.375 kB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.315, allocations: 384 / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.799e-05/0.3151, allocations: 30.27 kB / 1.326 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3151, allocations: 3.938 kB / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.3151, allocations: 0 / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.3151, allocations: 0 / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/0.3151, allocations: 7.984 kB / 1.326 GB, free: 1.156 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.3153, allocations: 124.8 kB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.3153, allocations: 26.52 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.3154, allocations: 4.859 kB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3154, allocations: 0 / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3154, allocations: 42.62 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.3154, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.3155, allocations: 45.61 kB / 1.326 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3156, allocations: 59.34 kB / 1.326 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.3157, allocations: 105.8 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3157, allocations: 25.7 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.3157, allocations: 88.14 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3158, allocations: 12.06 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.3158, allocations: 13.72 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3159, allocations: 318.8 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.3159, allocations: 4 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.316, allocations: 13.72 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.316, allocations: 21.7 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.316, allocations: 0 / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.137e-05/0.3161, allocations: 49.72 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3161, allocations: 13.53 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3161, allocations: 0 / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3161, allocations: 4 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.3162, allocations: 4 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3162, allocations: 0 / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.3162, allocations: 0 / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3162, allocations: 0 / 1.327 GB, free: 68 kB / 1.014 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 9.092e-05/0.3163, allocations: 118.3 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.3163, allocations: 15.83 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.3164, allocations: 49.16 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3164, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3164, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3164, allocations: 3.938 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.3165, allocations: 128.8 kB / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3165, allocations: 0 / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.3166, allocations: 4 kB / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3166, allocations: 3.938 kB / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3166, allocations: 3.984 kB / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3166, allocations: 0 / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3166, allocations: 0 / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.3167, allocations: 85.09 kB / 1.327 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.3167, allocations: 7.938 kB / 1.327 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.3168, allocations: 7.969 kB / 1.327 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.3168, allocations: 256 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.3168, allocations: 3.984 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.3168, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.3169, allocations: 91.27 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3169, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001717/0.317, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 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.0004186/0.3174, allocations: 0.6164 MB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.257e-05/0.3175, allocations: 11.98 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3175, allocations: 4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.3175, allocations: 4 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3177, allocations: 4 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3187, allocations: 1.152 MB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.301e-05/0.3187, allocations: 63.34 kB / 1.329 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.3188, allocations: 8.281 kB / 1.329 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.3188, allocations: 11.42 kB / 1.329 GB, free: 13.45 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3188, allocations: 0 / 1.329 GB, free: 13.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.3471, allocations: 1.702 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.83, allocations: 12.42 kB / 1.331 GB, free: 11.87 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_12_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.06066121114418]