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.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.001121/0.001121, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0008393/0.0008393, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.9233/0.9233, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.684/1.684, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.463e-06/1.463e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.08e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001204/0.001225, allocations: 0.537 MB / 0.951 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.001337, allocations: 11.98 kB / 0.951 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.001361, allocations: 0 / 0.951 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.001378, allocations: 7.938 kB / 0.951 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.001525, allocations: 7.938 kB / 0.951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.001529, allocations: 0 / 0.951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.32e-05/0.001582, allocations: 7.969 kB / 0.951 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.001624, allocations: 4 kB / 0.951 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.001675, allocations: 4 kB / 0.951 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.001712, allocations: 0 / 0.951 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.001727, allocations: 4 kB / 0.951 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-06/0.001732, allocations: 0 / 0.951 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.001744, allocations: 3.938 kB / 0.951 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.373e-05/0.001757, allocations: 0 / 0.951 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 4.825e-05/0.001806, allocations: 4 kB / 0.951 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.001807, allocations: 0 / 0.951 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.52e-07/0.001808, allocations: 0 / 0.951 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.001812, allocations: 4 kB / 0.951 GB, free: 2.883 MB / 0.9011 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.0002226/0.002034, allocations: 244.1 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.002074, allocations: 11.97 kB / 0.9513 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.002101, allocations: 30.75 kB / 0.9513 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.002121, allocations: 8.938 kB / 0.9513 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.483e-05/0.002186, allocations: 105.7 kB / 0.9514 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.002196, allocations: 4.359 kB / 0.9514 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.002202, allocations: 4.375 kB / 0.9514 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.951e-05/0.002292, allocations: 39.98 kB / 0.9515 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.002299, allocations: 192 / 0.9515 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.002307, allocations: 4.375 kB / 0.9515 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.002312, allocations: 4.125 kB / 0.9515 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.002331, allocations: 3.938 kB / 0.9515 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.002461, allocations: 129.6 kB / 0.9516 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.002506, allocations: 37.22 kB / 0.9516 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.002526, allocations: 13.84 kB / 0.9517 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.002546, allocations: 0 / 0.9517 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.002568, allocations: 38.5 kB / 0.9517 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.002568, allocations: 7.938 kB / 0.9517 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.002689, allocations: 45.62 kB / 0.9517 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.002724, allocations: 81.05 kB / 0.9518 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.002768, allocations: 93.86 kB / 0.9519 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.002777, allocations: 25.7 kB / 0.9519 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.002796, allocations: 80.14 kB / 0.952 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.002819, allocations: 7.953 kB / 0.952 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.002843, allocations: 18.08 kB / 0.952 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.002924, allocations: 314.8 kB / 0.9523 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.002933, allocations: 0 / 0.9523 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.002946, allocations: 13.72 kB / 0.9524 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.002973, allocations: 25.66 kB / 0.9524 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.002976, allocations: 4 kB / 0.9524 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.876e-05/0.003015, allocations: 37.69 kB / 0.9524 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.003029, allocations: 4 kB / 0.9524 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.003033, allocations: 128 / 0.9524 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.003045, allocations: 8 kB / 0.9524 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.003109, allocations: 7.938 kB / 0.9524 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.003117, allocations: 7.938 kB / 0.9524 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.003128, allocations: 0 / 0.9524 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.003135, allocations: 0 / 0.9524 GB, free: 1.219 MB / 0.9011 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 4.895e-05/0.003184, allocations: 109.8 kB / 0.9526 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-06/0.003189, allocations: 3.984 kB / 0.9526 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/0.003275, allocations: 56.52 kB / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.003277, allocations: 8.047 kB / 0.9526 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.003283, allocations: 7.938 kB / 0.9526 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.003285, allocations: 3.938 kB / 0.9526 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.44e-05/0.00335, allocations: 120.8 kB / 0.9527 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.003351, allocations: 4 kB / 0.9527 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.003364, allocations: 0 / 0.9527 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.003366, allocations: 4 kB / 0.9527 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.003372, allocations: 3.984 kB / 0.9528 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.003373, allocations: 0 / 0.9528 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.003376, allocations: 3.938 kB / 0.9528 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.951e-05/0.003426, allocations: 66 kB / 0.9528 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.003457, allocations: 7.984 kB / 0.9528 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.003466, allocations: 7.938 kB / 0.9528 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-06/0.003473, allocations: 0 / 0.9528 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.003485, allocations: 7.875 kB / 0.9528 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.003487, allocations: 0 / 0.9528 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.305e-05/0.00351, allocations: 79.28 kB / 0.9529 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.00351, allocations: 0 / 0.9529 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000116/0.003626, allocations: 0 / 0.9529 GB, free: 0.6562 MB / 0.9011 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.0002168/0.003843, allocations: 0.5978 MB / 0.9535 GB, free: 24 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.059e-05/0.003903, allocations: 15.94 kB / 0.9535 GB, free: 8 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.003905, allocations: 0 / 0.9535 GB, free: 8 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.111e-06/0.003911, allocations: 7.984 kB / 0.9535 GB, free: 0 / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.00402, allocations: 4.141 kB / 0.9535 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.004266, allocations: 123.3 kB / 0.9536 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.004302, allocations: 59.34 kB / 0.9537 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.004318, allocations: 4.281 kB / 0.9537 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.004344, allocations: 12.5 kB / 0.9537 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of SimCode: time 3.5e-07/0.004344, allocations: 0 / 0.9537 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.0194, allocations: 1.569 MB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.775, allocations: 14.77 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.02 --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/jenkins/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: 10.77378324791789]