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.001674/0.001674, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002073/0.002073, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.348/1.348, allocations: 230.6 MB / 256 MB, free: 7.785 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.921/2.921, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.001926/0.001926, allocations: 71.02 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2827, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001638/0.2843, allocations: 0.5319 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.2844, allocations: 15.92 kB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.2844, allocations: 0 / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.135e-05/0.2844, allocations: 0 / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.2846, allocations: 7.938 kB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.377e-06/0.2846, allocations: 3.938 kB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.2846, allocations: 7.984 kB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.2847, allocations: 3.984 kB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.2847, allocations: 4 kB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.403e-05/0.2847, allocations: 4 kB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.2847, allocations: 0 / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-06/0.2847, allocations: 0 / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.2848, allocations: 0 / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.2848, allocations: 11.88 kB / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.536e-05/0.2848, allocations: 4 kB / 1.326 GB, free: 1.785 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2848, allocations: 3.938 kB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2848, allocations: 0 / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.2848, allocations: 0 / 1.326 GB, free: 1.781 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.0002719/0.2851, allocations: 238.7 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2851, allocations: 12.03 kB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.2852, allocations: 34.75 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.2852, allocations: 0.9375 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.2853, allocations: 110.5 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2853, allocations: 384 / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.2853, allocations: 4.375 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.2854, allocations: 44.38 kB / 1.326 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2854, allocations: 3.938 kB / 1.326 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.2854, allocations: 3.938 kB / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2854, allocations: 0 / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.2854, allocations: 8 kB / 1.326 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.2856, allocations: 129.7 kB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.2857, allocations: 45.08 kB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.2857, allocations: 13.84 kB / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2857, allocations: 0 / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2857, allocations: 34.56 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.2857, allocations: 0 / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001364/0.2859, allocations: 53.5 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.2859, allocations: 77.11 kB / 1.326 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.286, allocations: 98.11 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.286, allocations: 25.7 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.286, allocations: 80.14 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.2861, allocations: 7.953 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.2861, allocations: 13.72 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2862, allocations: 314.8 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.2862, allocations: 4 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.2863, allocations: 17.66 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.2863, allocations: 21.91 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2863, allocations: 0 / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.763e-05/0.2864, allocations: 45.62 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2864, allocations: 10.12 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2864, allocations: 4 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2864, allocations: 0 / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.2864, allocations: 4 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2864, allocations: 0 / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.2865, allocations: 0 / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.2865, allocations: 0 / 1.327 GB, free: 124 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 7.604e-05/0.2865, allocations: 114.4 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.2866, allocations: 4.047 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2867, allocations: 52.56 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2867, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2867, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2867, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.2868, allocations: 128.7 kB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2868, allocations: 4 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.2868, allocations: 4 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2868, allocations: 8 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.2868, allocations: 0 / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2868, allocations: 0 / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2868, allocations: 3.938 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.259e-05/0.2869, allocations: 69.98 kB / 1.327 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.2869, allocations: 3.984 kB / 1.327 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.2869, allocations: 7.938 kB / 1.327 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/0.287, allocations: 7.922 kB / 1.327 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-06/0.287, allocations: 0 / 1.327 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.287, allocations: 4 kB / 1.327 GB, free: 15.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.287, allocations: 79.31 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.287, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001727/0.2872, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 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.0003793/0.2876, allocations: 0.6093 MB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.3e-05/0.2876, allocations: 4 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2876, allocations: 3.938 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.2876, allocations: 8.25 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.2878, allocations: 12.11 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.2881, allocations: 115.6 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.2881, allocations: 59.34 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.527e-05/0.2881, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.2882, allocations: 11.44 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.2882, allocations: 0 / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.3156, allocations: 1.429 MB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.73, allocations: 10.23 kB / 1.33 GB, free: 13.32 MB / 1.029 GB " [Timeout remaining time 289] (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/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: 16.69415286462754]