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.001785/0.001785, 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.001806/0.001806, allocations: 217.5 kB / 22.26 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.996 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.296/3.296, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.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.002101/0.002101, allocations: 71.67 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001721/0.3313, allocations: 0.5322 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000132/0.3314, allocations: 11.92 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.3314, allocations: 0 / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.3314, allocations: 0 / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.3316, allocations: 19.91 kB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.3316, allocations: 0 / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.3316, allocations: 4 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3317, allocations: 0 / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.3317, allocations: 4 kB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.3318, allocations: 3.938 kB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3318, allocations: 0 / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.3318, allocations: 0 / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.3318, allocations: 0 / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.3318, allocations: 7.922 kB / 1.326 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.85e-05/0.3319, allocations: 7.984 kB / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3319, allocations: 4 kB / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3319, allocations: 0 / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3319, allocations: 0 / 1.326 GB, free: 1.383 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.000297/0.3322, allocations: 238.7 kB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3322, allocations: 15.97 kB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.3322, allocations: 30.75 kB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.3323, allocations: 4.922 kB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.367e-05/0.3324, allocations: 102.5 kB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-06/0.3324, allocations: 384 / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3324, allocations: 8.375 kB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3325, allocations: 48.33 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3325, allocations: 3.938 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3325, allocations: 0 / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3325, allocations: 3.938 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.3325, allocations: 7.984 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.3327, allocations: 125.6 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.3327, allocations: 45.16 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.3328, allocations: 17.84 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3328, allocations: 0 / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3328, allocations: 34.55 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3328, allocations: 0 / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.333, allocations: 53.58 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.333, allocations: 77.11 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.3331, allocations: 93.84 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3331, allocations: 25.7 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.3331, allocations: 80.14 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.3332, allocations: 7.953 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.3332, allocations: 14.09 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3333, allocations: 314.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.3334, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.3334, allocations: 13.66 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.3334, allocations: 25.7 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3334, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.445e-05/0.3335, allocations: 45.7 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3335, allocations: 7.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3335, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3335, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.3336, allocations: 4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3336, allocations: 3.984 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.3336, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3336, allocations: 3.938 kB / 1.328 GB, free: 15.71 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 8.025e-05/0.3337, allocations: 114.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.3337, allocations: 8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.3338, allocations: 48.62 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3338, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3339, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3339, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.334, allocations: 120.7 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.334, allocations: 4 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.334, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.334, allocations: 12 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.334, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.334, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.334, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.3341, allocations: 65.98 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.3341, allocations: 8 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.3341, allocations: 3.938 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.3341, allocations: 8.016 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.3342, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3342, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.5e-05/0.3342, allocations: 79.27 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3342, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001932/0.3344, allocations: 4 kB / 1.328 GB, free: 15.15 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.0003998/0.3348, allocations: 0.6094 MB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.3349, allocations: 8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3349, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.04e-05/0.3349, allocations: 7.938 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.335, allocations: 2.156 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.3354, allocations: 127.6 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3357, allocations: 0.6729 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.3357, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.3357, allocations: 11.42 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3357, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.3638, allocations: 1.035 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.04, allocations: 9.906 kB / 1.331 GB, free: 12.7 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: 17.84332074294798]