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.000775/0.000775, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0007964/0.0007964, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8285/0.8285, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.635/1.635, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.16e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0009184/0.00093, allocations: 0.537 MB / 0.9815 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.001035, allocations: 19.91 kB / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.001057, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.001071, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.001203, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.001206, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.001257, allocations: 7.938 kB / 0.9815 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.001294, allocations: 0 / 0.9815 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.001343, allocations: 7.984 kB / 0.9815 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.001376, allocations: 4 kB / 0.9815 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.00139, allocations: 3.938 kB / 0.9815 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-06/0.001395, allocations: 0 / 0.9815 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-06/0.001404, allocations: 3.984 kB / 0.9815 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.001416, allocations: 3.938 kB / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 4.347e-05/0.00146, allocations: 4 kB / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.001461, allocations: 0 / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.11e-07/0.001462, allocations: 0 / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.001465, allocations: 0 / 0.9815 GB, free: 2.008 MB / 0.9323 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.0002106/0.001675, allocations: 242.4 kB / 0.9817 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.001713, allocations: 12.03 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.001739, allocations: 38.75 kB / 0.9818 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.618e-05/0.001755, allocations: 0.9375 kB / 0.9818 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.035e-05/0.001815, allocations: 105.8 kB / 0.9819 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.001824, allocations: 4.375 kB / 0.9819 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.001831, allocations: 384 / 0.9819 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.516e-05/0.001916, allocations: 47.97 kB / 0.9819 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.001923, allocations: 192 / 0.9819 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.001931, allocations: 384 / 0.9819 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.001938, allocations: 8.062 kB / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.001957, allocations: 4 kB / 0.982 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.002062, allocations: 133.6 kB / 0.9821 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.002103, allocations: 37.19 kB / 0.9821 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.002119, allocations: 13.7 kB / 0.9821 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.002139, allocations: 4 kB / 0.9821 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.002157, allocations: 34.62 kB / 0.9822 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.002157, allocations: 0 / 0.9822 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001068/0.002264, allocations: 37.64 kB / 0.9822 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.002298, allocations: 93.03 kB / 0.9823 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.916e-05/0.002337, allocations: 94.11 kB / 0.9824 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.002345, allocations: 25.7 kB / 0.9824 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.687e-05/0.002362, allocations: 80.14 kB / 0.9825 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.002382, allocations: 7.953 kB / 0.9825 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.002403, allocations: 13.72 kB / 0.9825 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.002474, allocations: 310.8 kB / 0.9828 GB, free: 484 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.002482, allocations: 4 kB / 0.9828 GB, free: 480 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.002496, allocations: 25.58 kB / 0.9828 GB, free: 448 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.278e-05/0.002519, allocations: 17.72 kB / 0.9828 GB, free: 424 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.00252, allocations: 4.188 kB / 0.9829 GB, free: 420 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.588e-05/0.002556, allocations: 37.64 kB / 0.9829 GB, free: 376 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.002567, allocations: 8 kB / 0.9829 GB, free: 368 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.002571, allocations: 0 / 0.9829 GB, free: 368 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.002581, allocations: 0 / 0.9829 GB, free: 368 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.002639, allocations: 11.92 kB / 0.9829 GB, free: 356 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.002643, allocations: 0 / 0.9829 GB, free: 356 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-06/0.002652, allocations: 0 / 0.9829 GB, free: 356 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.002658, allocations: 4 kB / 0.9829 GB, free: 352 kB / 0.9323 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.46e-05/0.002703, allocations: 109.9 kB / 0.983 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-06/0.002708, allocations: 7.953 kB / 0.983 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.002779, allocations: 56.56 kB / 0.9831 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.002781, allocations: 0 / 0.9831 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.002785, allocations: 3.938 kB / 0.9831 GB, free: 160 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.002787, allocations: 0 / 0.9831 GB, free: 160 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.5e-05/0.002852, allocations: 120.8 kB / 0.9832 GB, free: 16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.002853, allocations: 0 / 0.9832 GB, free: 16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.002864, allocations: 4 kB / 0.9832 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.002865, allocations: 64 / 0.9832 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.002869, allocations: 4 kB / 0.9832 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.002871, allocations: 4 kB / 0.9832 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.002873, allocations: 7.938 kB / 0.9832 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.816e-05/0.002921, allocations: 69.92 kB / 0.9833 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.002949, allocations: 4 kB / 0.9833 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.002957, allocations: 0 / 0.9833 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.002964, allocations: 3.938 kB / 0.9833 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.002977, allocations: 11.92 kB / 0.9833 GB, free: 15.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.002979, allocations: 0 / 0.9833 GB, free: 15.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.308e-05/0.003002, allocations: 83.31 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.003002, allocations: 0 / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001131/0.003115, allocations: 4 kB / 0.9834 GB, free: 15.78 MB / 0.948 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.0003153/0.00343, allocations: 0.5977 MB / 0.984 GB, free: 15.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.417e-05/0.003484, allocations: 4 kB / 0.984 GB, free: 15.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.003486, allocations: 0 / 0.984 GB, free: 15.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.003491, allocations: 11.88 kB / 0.984 GB, free: 15.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.662e-05/0.003588, allocations: 15.28 kB / 0.984 GB, free: 15.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.003808, allocations: 119.4 kB / 0.9841 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.003836, allocations: 55.36 kB / 0.9842 GB, free: 14.89 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.003852, allocations: 7.984 kB / 0.9842 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.003875, allocations: 12.5 kB / 0.9842 GB, free: 14.87 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/0.003875, allocations: 0 / 0.9842 GB, free: 14.87 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.0156, allocations: 1.556 MB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.279/6.295, allocations: 12.17 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/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: 10.013722404837608]