Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001525/0.001525, allocations: 111 kB / 16.46 MB, free: 6.453 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.001599/0.001599, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.36/1.36, allocations: 230.6 MB / 252.8 MB, free: 8.98 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 2.916/2.916, allocations: 0.49 GB / 0.7916 GB, free: 33.43 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.Example8,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_12_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.00194/0.00194, allocations: 69.17 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2924, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001617/0.294, allocations: 0.528 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.2942, allocations: 11.92 kB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.2942, allocations: 0 / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.2942, allocations: 0 / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2943, allocations: 15.92 kB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.2943, allocations: 0 / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.2944, allocations: 11.98 kB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.2944, allocations: 0 / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.2944, allocations: 0 / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.2945, allocations: 7.938 kB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2945, allocations: 3.938 kB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-06/0.2945, allocations: 0 / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.2945, allocations: 0 / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.185e-05/0.2945, allocations: 3.938 kB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.73e-05/0.2946, allocations: 11.91 kB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2946, allocations: 4 kB / 1.321 GB, free: 2.727 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2946, allocations: 0 / 1.321 GB, free: 2.727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2946, allocations: 4 kB / 1.321 GB, free: 2.723 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003337/0.2949, allocations: 315.8 kB / 1.322 GB, free: 2.363 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2949, allocations: 11.98 kB / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.295, allocations: 30.75 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.862e-05/0.295, allocations: 0.9375 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.2952, allocations: 172.3 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.2952, allocations: 384 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.2952, allocations: 384 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.439e-05/0.2953, allocations: 47.98 kB / 1.322 GB, free: 2.047 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2953, allocations: 7.875 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.2953, allocations: 0 / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2953, allocations: 0 / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.2953, allocations: 7.984 kB / 1.322 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.2955, allocations: 154.6 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.454e-05/0.2956, allocations: 37.09 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.2956, allocations: 13.84 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2956, allocations: 7.984 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2956, allocations: 30.56 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2956, allocations: 0 / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001447/0.2958, allocations: 45.8 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.2958, allocations: 85.14 kB / 1.322 GB, free: 1.555 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.2959, allocations: 93.84 kB / 1.322 GB, free: 1.453 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2959, allocations: 25.7 kB / 1.322 GB, free: 1.422 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.296, allocations: 84.14 kB / 1.322 GB, free: 1.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.296, allocations: 3.953 kB / 1.322 GB, free: 1.332 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.296, allocations: 9.719 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2962, allocations: 319.2 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.2962, allocations: 4.125 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.2962, allocations: 17.66 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.2963, allocations: 21.7 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2963, allocations: 0 / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.399e-05/0.2963, allocations: 37.64 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2963, allocations: 14.56 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2963, allocations: 7.938 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2964, allocations: 0 / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.2964, allocations: 11.92 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2964, allocations: 7.984 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.2964, allocations: 0 / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2965, allocations: 0 / 1.323 GB, free: 0.8594 MB / 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 7.38e-05/0.2965, allocations: 113.8 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.2965, allocations: 3.938 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2967, allocations: 52.75 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2967, allocations: 4 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2967, allocations: 0 / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.2967, allocations: 0 / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2968, allocations: 153.6 kB / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2968, allocations: 0 / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.2968, allocations: 0 / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2968, allocations: 7.938 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.2968, allocations: 0 / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2968, allocations: 8 kB / 1.323 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2968, allocations: 0 / 1.323 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.175e-05/0.2969, allocations: 69.98 kB / 1.323 GB, free: 376 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.297, allocations: 81.06 kB / 1.323 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.297, allocations: 3.938 kB / 1.323 GB, free: 272 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/0.297, allocations: 4 kB / 1.323 GB, free: 268 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.297, allocations: 16 kB / 1.323 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.297, allocations: 0 / 1.323 GB, free: 252 kB / 1.014 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.297, allocations: 75.28 kB / 1.323 GB, free: 176 kB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.297, allocations: 0 / 1.323 GB, free: 176 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001806/0.2972, allocations: 4 kB / 1.324 GB, free: 172 kB / 1.014 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.0004244/0.2977, allocations: 0.6094 MB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.2977, allocations: 11.94 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2977, allocations: 4 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.2977, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2979, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.2982, allocations: 127.8 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2985, allocations: 0.669 MB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.2985, allocations: 7.984 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.2985, allocations: 11.38 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.2985, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3217, allocations: 0.929 MB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.951, allocations: 15.06 kB / 1.326 GB, free: 13.75 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.00049839890562]