Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.438/2.438, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.88 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7521, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001448/0.7536, allocations: 0.5386 MB / 1.272 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001107/0.7537, allocations: 16.67 kB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.7537, allocations: 0.8125 kB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.7537, allocations: 0.6562 kB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.7539, allocations: 6.781 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.7539, allocations: 4 kB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.7539, allocations: 9 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.754, allocations: 2.828 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.754, allocations: 2.109 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.351e-05/0.754, allocations: 6.828 kB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.754, allocations: 0.75 kB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.7541, allocations: 0 / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.7541, allocations: 1.547 kB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.311e-05/0.7541, allocations: 4.844 kB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.008e-05/0.7541, allocations: 1.672 kB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7541, allocations: 0.7812 kB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7541, allocations: 4 kB / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7541, allocations: 0.7812 kB / 1.272 GB, free: 7.355 MB / 0.9981 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.0001909/0.7543, allocations: 311.2 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7543, allocations: 14.78 kB / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.897e-05/0.7544, allocations: 35.53 kB / 1.272 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.732e-05/0.7544, allocations: 1.719 kB / 1.272 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.087e-05/0.7544, allocations: 166.5 kB / 1.272 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.7544, allocations: 1.375 kB / 1.272 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.7545, allocations: 1.25 kB / 1.272 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.67e-05/0.7545, allocations: 44.56 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.7545, allocations: 5.516 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.7545, allocations: 0 / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7545, allocations: 0.9688 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.7546, allocations: 11.08 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.709e-05/0.7547, allocations: 151.2 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.7547, allocations: 44.8 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.7547, allocations: 11.94 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.7547, allocations: 9.906 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.7547, allocations: 31.92 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.7547, allocations: 0.625 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001097/0.7549, allocations: 53.28 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.7549, allocations: 77.98 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.382e-05/0.7549, allocations: 92.53 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.7549, allocations: 30.58 kB / 1.273 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-06/0.7549, allocations: 80.14 kB / 1.273 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7549, allocations: 5.688 kB / 1.273 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.755, allocations: 13.58 kB / 1.273 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.755, allocations: 316.6 kB / 1.273 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.755, allocations: 2.188 kB / 1.273 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.755, allocations: 16.06 kB / 1.273 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.755, allocations: 19.59 kB / 1.273 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.755, allocations: 0.6094 kB / 1.273 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.107e-05/0.7551, allocations: 49.23 kB / 1.273 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7551, allocations: 9.062 kB / 1.273 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7551, allocations: 1.703 kB / 1.273 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7551, allocations: 0.8438 kB / 1.273 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.7552, allocations: 3.734 kB / 1.273 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.7552, allocations: 1 kB / 1.273 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.7552, allocations: 0.875 kB / 1.273 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.7552, allocations: 1.625 kB / 1.273 GB, free: 5.605 MB / 0.9981 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 3.391e-05/0.7552, allocations: 109.4 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.7552, allocations: 13.45 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.7553, allocations: 49.44 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.7553, allocations: 1 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7553, allocations: 0.8438 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7553, allocations: 1.203 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.832e-05/0.7554, allocations: 154.4 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7554, allocations: 4.688 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.7554, allocations: 3.516 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7554, allocations: 9 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.7554, allocations: 2.266 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7554, allocations: 0 / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7554, allocations: 4.609 kB / 1.274 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.334e-05/0.7555, allocations: 78.11 kB / 1.274 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.7555, allocations: 80.05 kB / 1.274 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.7555, allocations: 5.406 kB / 1.274 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.7555, allocations: 5.219 kB / 1.274 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.7555, allocations: 1.469 kB / 1.274 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.7555, allocations: 1.438 kB / 1.274 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.33e-05/0.7556, allocations: 80.59 kB / 1.274 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7556, allocations: 0.625 kB / 1.274 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001732/0.7557, allocations: 5.562 kB / 1.274 GB, free: 4.957 MB / 0.9981 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.0001921/0.7559, allocations: 0.6109 MB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.727e-05/0.756, allocations: 8.062 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.756, allocations: 0 / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.756, allocations: 12.33 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.7561, allocations: 1.875 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.7564, allocations: 125.5 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.7564, allocations: 0.6732 MB / 1.275 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.7564, allocations: 1.656 kB / 1.275 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.7565, allocations: 8.938 kB / 1.275 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.7565, allocations: 0 / 1.275 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.7784, allocations: 0.9146 MB / 1.276 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.689, allocations: 10.78 kB / 1.276 GB, free: 3.133 MB / 0.9981 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.850155021000319]