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.001804/0.001804, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002492/0.002492, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.016 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.275/3.275, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.002163/0.002163, allocations: 66 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3406, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001815/0.3424, allocations: 0.5414 MB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.3426, allocations: 32.28 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.3426, allocations: 4 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3426, allocations: 3.938 kB / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.3428, allocations: 7.969 kB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.921e-05/0.3428, allocations: 15.94 kB / 1.326 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.3429, allocations: 4 kB / 1.326 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.343, allocations: 7.984 kB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.343, allocations: 11.88 kB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.3431, allocations: 8 kB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3431, allocations: 0 / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.3431, allocations: 0 / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.3432, allocations: 11.97 kB / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.3432, allocations: 3.938 kB / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.087e-05/0.3433, allocations: 16.14 kB / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3433, allocations: 8 kB / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3433, allocations: 0 / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3433, allocations: 0 / 1.327 GB, free: 1.273 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.0004046/0.3437, allocations: 258.3 kB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3437, allocations: 8.031 kB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.3438, allocations: 30.75 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.3438, allocations: 0.9375 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.344, allocations: 126.5 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.344, allocations: 384 / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.344, allocations: 384 / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.524e-05/0.3441, allocations: 34.25 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3441, allocations: 7.938 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.3441, allocations: 0 / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3441, allocations: 0 / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.3441, allocations: 4 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.3443, allocations: 124.8 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/0.3443, allocations: 22.52 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.3443, allocations: 16.91 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3443, allocations: 0 / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3444, allocations: 38.56 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.3444, allocations: 0 / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.3445, allocations: 45.56 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3445, allocations: 55.41 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.3446, allocations: 105.8 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3447, allocations: 25.7 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3447, allocations: 88.14 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3447, allocations: 8.078 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.3448, allocations: 21.64 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3449, allocations: 314.8 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.3449, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.3449, allocations: 17.7 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.345, allocations: 21.78 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.345, allocations: 7.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.937e-05/0.3451, allocations: 41.69 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3451, allocations: 7.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3451, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3451, allocations: 3.984 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.3452, allocations: 7.984 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3452, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.3452, allocations: 7.953 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3452, allocations: 4 kB / 1.328 GB, free: 15.63 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.671e-05/0.3453, allocations: 115 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.3453, allocations: 7.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.3454, allocations: 49.14 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3454, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3454, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3454, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3455, allocations: 124.7 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3455, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.3456, allocations: 8.031 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.3456, allocations: 3.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3456, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3456, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3456, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.3457, allocations: 77.05 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.3457, allocations: 7.984 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3458, allocations: 4.031 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.3458, allocations: 8.234 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.3458, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3458, allocations: 8 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.3459, allocations: 87.27 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3459, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001812/0.346, allocations: 4 kB / 1.328 GB, free: 15.04 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.0004315/0.3465, allocations: 0.6201 MB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.306e-05/0.3466, allocations: 8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3466, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.3466, allocations: 15.98 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.3467, allocations: 3.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3478, allocations: 1.155 MB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3481, allocations: 0.6807 MB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.3481, allocations: 3.938 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.3481, allocations: 11.44 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3481, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3778, allocations: 1.312 MB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.29, allocations: 4.891 kB / 1.332 GB, free: 11.22 MB / 1.029 GB " [Timeout remaining time 289] (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.110380663070828]