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.001766/0.001766, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001643/0.001643, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] 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.86/2.86, allocations: 476.7 MB / 0.7611 GB, free: 15.84 MB / 0.6075 GB " [Timeout remaining time 176] 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.002304/0.002304, allocations: 59.91 kB / 1.104 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9603, allocations: 168.7 MB / 1.269 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001727/0.962, allocations: 0.5291 MB / 1.269 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001395/0.9622, allocations: 22.52 kB / 1.269 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.9622, allocations: 0.5312 kB / 1.269 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.9622, allocations: 0 / 1.269 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.9624, allocations: 7.281 kB / 1.269 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.9624, allocations: 0 / 1.269 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.795e-05/0.9624, allocations: 7.578 kB / 1.269 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.9625, allocations: 3.641 kB / 1.269 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.9625, allocations: 9.203 kB / 1.269 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.9626, allocations: 1.422 kB / 1.269 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.9626, allocations: 0 / 1.269 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-06/0.9626, allocations: 1.094 kB / 1.269 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.9626, allocations: 3.984 kB / 1.269 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.9626, allocations: 5.172 kB / 1.269 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.017e-05/0.9627, allocations: 2.25 kB / 1.269 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9627, allocations: 0 / 1.269 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9627, allocations: 4.594 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.9627, allocations: 0 / 1.269 GB, free: 7.379 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.000244/0.9629, allocations: 316.3 kB / 1.27 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.963, allocations: 14.38 kB / 1.27 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.316e-05/0.963, allocations: 35.27 kB / 1.27 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.963, allocations: 1.969 kB / 1.27 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.9631, allocations: 169.5 kB / 1.27 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.9631, allocations: 1.281 kB / 1.27 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.9631, allocations: 1.281 kB / 1.27 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.9632, allocations: 46.08 kB / 1.27 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.9632, allocations: 3.938 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.9632, allocations: 0.7812 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9632, allocations: 0.7031 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.9632, allocations: 8.047 kB / 1.27 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.9633, allocations: 153.8 kB / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.9634, allocations: 46.19 kB / 1.27 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.9634, allocations: 15.98 kB / 1.27 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.9635, allocations: 0.9375 kB / 1.27 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.9635, allocations: 36.09 kB / 1.27 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9635, allocations: 0.7812 kB / 1.27 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.9636, allocations: 53.98 kB / 1.27 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.9636, allocations: 81.66 kB / 1.27 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.9637, allocations: 91.95 kB / 1.27 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.9637, allocations: 26.77 kB / 1.27 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.091e-05/0.9637, allocations: 80.66 kB / 1.27 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.9637, allocations: 9.422 kB / 1.27 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.9637, allocations: 13.38 kB / 1.27 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.9638, allocations: 316.4 kB / 1.271 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.9638, allocations: 1.5 kB / 1.271 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.9638, allocations: 17.19 kB / 1.271 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.9638, allocations: 19.53 kB / 1.271 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9638, allocations: 0.7812 kB / 1.271 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.716e-05/0.9639, allocations: 48.64 kB / 1.271 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9639, allocations: 10.03 kB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.9639, allocations: 0 / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.9639, allocations: 0.8438 kB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.964, allocations: 4.25 kB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.964, allocations: 1.453 kB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.964, allocations: 0.6875 kB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.964, allocations: 1.312 kB / 1.271 GB, free: 5.617 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 4.361e-05/0.9641, allocations: 108.9 kB / 1.271 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.9641, allocations: 8.969 kB / 1.271 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.9642, allocations: 52.86 kB / 1.271 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9642, allocations: 1.312 kB / 1.271 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9642, allocations: 0.8125 kB / 1.271 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.9642, allocations: 0.8125 kB / 1.271 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.883e-05/0.9643, allocations: 151.2 kB / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9643, allocations: 0.9062 kB / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.9643, allocations: 3.719 kB / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.9643, allocations: 9.406 kB / 1.271 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.9643, allocations: 0.7812 kB / 1.271 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9643, allocations: 4.781 kB / 1.271 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9643, allocations: 5.312 kB / 1.271 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.435e-05/0.9644, allocations: 69.98 kB / 1.271 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.9644, allocations: 78.95 kB / 1.271 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.9644, allocations: 10.23 kB / 1.271 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.9644, allocations: 0.6875 kB / 1.271 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.9644, allocations: 1.578 kB / 1.271 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.9645, allocations: 2.109 kB / 1.271 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.9645, allocations: 76.03 kB / 1.271 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9645, allocations: 0 / 1.271 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001945/0.9647, allocations: 1.906 kB / 1.271 GB, free: 4.988 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.0002261/0.9649, allocations: 0.6145 MB / 1.272 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.965, allocations: 7.984 kB / 1.272 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.965, allocations: 0 / 1.272 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.965, allocations: 8.859 kB / 1.272 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.9651, allocations: 10.05 kB / 1.272 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.9654, allocations: 121.7 kB / 1.272 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.456e-05/0.9655, allocations: 0.6732 MB / 1.273 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.9655, allocations: 1.297 kB / 1.273 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.9655, allocations: 8.219 kB / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.9655, allocations: 0.875 kB / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.9893, allocations: 0.9406 MB / 1.274 GB, free: 19.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/9.095, allocations: 4.188 kB / 1.274 GB, free: 19.13 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.295067737810314]