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.00175/0.00175, allocations: 105.8 kB / 19.73 MB, free: 2.223 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.002215/0.002215, allocations: 211.5 kB / 23.04 MB, free: 5.062 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 33.33 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example5",fmuType="cs",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.001987/0.001987, allocations: 69.7 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001651/0.3347, allocations: 0.5476 MB / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001651/0.3349, allocations: 36.3 kB / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.3349, allocations: 0 / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.3349, allocations: 7.922 kB / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3351, allocations: 0 / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.093e-05/0.3351, allocations: 15.92 kB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.3352, allocations: 11.98 kB / 1.327 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.3352, allocations: 4 kB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.3353, allocations: 3.938 kB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.688e-05/0.3353, allocations: 11.98 kB / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3354, allocations: 4 kB / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-06/0.3354, allocations: 0 / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.3354, allocations: 4 kB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.3354, allocations: 11.92 kB / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.717e-05/0.3355, allocations: 12.2 kB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3355, allocations: 0 / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3355, allocations: 3.938 kB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.3355, allocations: 0 / 1.327 GB, free: 1.262 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.0003694/0.3359, allocations: 258.3 kB / 1.328 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3359, allocations: 12.03 kB / 1.328 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.3359, allocations: 8.188 kB / 1.328 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.557e-05/0.3359, allocations: 30.75 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.858e-05/0.336, allocations: 0.9375 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3361, allocations: 118.5 kB / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3361, allocations: 4.375 kB / 1.328 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3361, allocations: 384 / 1.328 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.718e-05/0.3362, allocations: 42 kB / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.3362, allocations: 0 / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.3362, allocations: 4 kB / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.3362, allocations: 0 / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.3363, allocations: 7.938 kB / 1.328 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.3364, allocations: 124.8 kB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.3364, allocations: 18.58 kB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.3365, allocations: 8.844 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3365, allocations: 3.984 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3365, allocations: 42.56 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3365, allocations: 0 / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001268/0.3366, allocations: 41.62 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3367, allocations: 59.34 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3368, allocations: 109.8 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3368, allocations: 25.7 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.3368, allocations: 84.08 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3368, allocations: 11.94 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.3369, allocations: 17.84 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.337, allocations: 314.8 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.337, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.3371, allocations: 21.7 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.3371, allocations: 21.66 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3371, allocations: 4.062 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.498e-05/0.3372, allocations: 45.69 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3372, allocations: 11.94 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3372, allocations: 3.984 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/0.3372, allocations: 0 / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.3373, allocations: 7.938 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.3373, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.3373, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3373, allocations: 4 kB / 1.329 GB, free: 15.62 MB / 1.029 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.438e-05/0.3374, allocations: 110.4 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.3374, allocations: 11.89 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.3375, allocations: 49.14 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3375, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3375, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3375, allocations: 4 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3376, allocations: 124.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3376, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.3377, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.3377, allocations: 7.969 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.3377, allocations: 4.188 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3377, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.3377, allocations: 3.984 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.3378, allocations: 73.12 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.3378, allocations: 11.89 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3378, allocations: 8.016 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.3379, allocations: 96 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.3379, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.3379, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.3379, allocations: 91.27 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3379, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001858/0.3381, allocations: 4 kB / 1.329 GB, free: 15.02 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.0004173/0.3385, allocations: 0.6162 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.3386, allocations: 12 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3386, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.3386, allocations: 11.92 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.3388, allocations: 4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3398, allocations: 1.16 MB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3401, allocations: 0.6807 MB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.3401, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.3401, allocations: 7.438 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.3401, allocations: 4 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3615, allocations: 1.338 MB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.94, allocations: 9.359 kB / 1.333 GB, free: 11.18 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.58701001800364]