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.001272/0.001272, allocations: 108 kB / 16.45 MB, free: 6.508 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.001362/0.001362, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.399/1.399, allocations: 230.6 MB / 252.8 MB, free: 9.102 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/3, allocations: 0.49 GB / 0.7916 GB, free: 33.59 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.00194/0.00194, allocations: 68.58 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3238, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00181/0.3256, allocations: 0.5357 MB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001822/0.3258, allocations: 39.86 kB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.3258, allocations: 0 / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.3259, allocations: 3.938 kB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.326, allocations: 4 kB / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.671e-05/0.326, allocations: 15.94 kB / 1.321 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.3261, allocations: 7.984 kB / 1.321 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.3261, allocations: 0 / 1.321 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.3262, allocations: 7.938 kB / 1.321 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.3263, allocations: 15.97 kB / 1.321 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3263, allocations: 0 / 1.321 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.3263, allocations: 4 kB / 1.321 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.3263, allocations: 0 / 1.321 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.3264, allocations: 7.938 kB / 1.321 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.457e-05/0.3264, allocations: 12.2 kB / 1.321 GB, free: 2.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3264, allocations: 4 kB / 1.321 GB, free: 2.664 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3264, allocations: 0 / 1.321 GB, free: 2.664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.3264, allocations: 0 / 1.321 GB, free: 2.664 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.000448/0.3269, allocations: 339.3 kB / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3269, allocations: 15.98 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.327, allocations: 34.75 kB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.327, allocations: 0.9375 kB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3272, allocations: 184.3 kB / 1.322 GB, free: 2.004 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-06/0.3272, allocations: 384 / 1.322 GB, free: 2.004 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.3272, allocations: 4.375 kB / 1.322 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/0.3273, allocations: 30.27 kB / 1.322 GB, free: 1.965 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3273, allocations: 3.938 kB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.3273, allocations: 0 / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3273, allocations: 0 / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.3273, allocations: 7.984 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.3275, allocations: 161.6 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.3276, allocations: 22.58 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.3276, allocations: 5.266 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3276, allocations: 0 / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3276, allocations: 34.62 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3276, allocations: 0 / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.00017/0.3278, allocations: 53.55 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3278, allocations: 51.41 kB / 1.322 GB, free: 1.543 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3279, allocations: 110 kB / 1.322 GB, free: 1.426 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.328, allocations: 29.7 kB / 1.322 GB, free: 1.391 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.328, allocations: 84.14 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.328, allocations: 7.953 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.3281, allocations: 9.719 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3282, allocations: 318.8 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.3282, allocations: 7.938 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.3282, allocations: 13.72 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.3283, allocations: 33.7 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3283, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.131e-05/0.3284, allocations: 45.69 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3284, allocations: 11.94 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3284, allocations: 0 / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3284, allocations: 0 / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.3285, allocations: 4 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3285, allocations: 4.062 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.3285, allocations: 7.891 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3285, allocations: 7.984 kB / 1.323 GB, free: 0.8086 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 8.198e-05/0.3286, allocations: 107.6 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.3286, allocations: 7.938 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.3287, allocations: 45.22 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3287, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3287, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3287, allocations: 8.031 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.3289, allocations: 157.9 kB / 1.323 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3289, allocations: 4 kB / 1.323 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.3289, allocations: 4 kB / 1.323 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3289, allocations: 3.938 kB / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3289, allocations: 0 / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3289, allocations: 0 / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3289, allocations: 3.938 kB / 1.323 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3291, allocations: 85.11 kB / 1.323 GB, free: 308 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.3291, allocations: 81.06 kB / 1.323 GB, free: 208 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3291, allocations: 3.938 kB / 1.323 GB, free: 204 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.406e-05/0.3291, allocations: 7.969 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.3292, allocations: 3.984 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.3292, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.3292, allocations: 91.27 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3292, allocations: 0 / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001765/0.3294, allocations: 4 kB / 1.324 GB, free: 96 kB / 1.014 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.0004361/0.3298, allocations: 0.6164 MB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.963e-05/0.3299, allocations: 11.98 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3299, allocations: 3.938 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.3299, allocations: 11.94 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.3301, allocations: 4.281 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3311, allocations: 1.15 MB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3314, allocations: 0.6846 MB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.3314, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.3315, allocations: 11.44 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3315, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.3568, allocations: 1.198 MB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.838, allocations: 15.98 kB / 1.327 GB, free: 12.32 MB / 1.029 GB " [Timeout remaining time 292] (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: 13.99902654113248]