Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.88 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5014, allocations: 140.4 MB / 0.9497 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001332/0.5028, allocations: 0.5152 MB / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.5029, allocations: 45.42 kB / 0.9503 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.503, allocations: 1.375 kB / 0.9503 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.503, allocations: 0 / 0.9503 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.5031, allocations: 5.312 kB / 0.9503 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.571e-05/0.5032, allocations: 6.734 kB / 0.9503 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.5032, allocations: 16 kB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.5033, allocations: 6.75 kB / 0.9503 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.5033, allocations: 5.359 kB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.5034, allocations: 13.48 kB / 0.9503 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.5034, allocations: 3.938 kB / 0.9503 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.253e-06/0.5034, allocations: 5.312 kB / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.5034, allocations: 9.359 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.5034, allocations: 6.688 kB / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.894e-05/0.5035, allocations: 3.5 kB / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5035, allocations: 0 / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5035, allocations: 0 / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.5035, allocations: 1.156 kB / 0.9503 GB, free: 8.551 MB / 0.7169 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.000253/0.5038, allocations: 336.3 kB / 0.9507 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.5038, allocations: 9.031 kB / 0.9507 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.018e-05/0.5038, allocations: 36.19 kB / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.803e-05/0.5038, allocations: 6.031 kB / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.454e-05/0.5039, allocations: 168.8 kB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.504, allocations: 1.531 kB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.504, allocations: 384 / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.039e-05/0.504, allocations: 37.61 kB / 0.9509 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.504, allocations: 5 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.504, allocations: 3.938 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.5041, allocations: 4 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.412e-05/0.5041, allocations: 7.266 kB / 0.9509 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.079e-05/0.5042, allocations: 153.1 kB / 0.9511 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.654e-05/0.5042, allocations: 18.27 kB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.5042, allocations: 11.52 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.5042, allocations: 0 / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.5042, allocations: 39.77 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.5042, allocations: 0 / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.665e-05/0.5043, allocations: 43.53 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.5044, allocations: 52.59 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.073e-05/0.5044, allocations: 116.2 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.5044, allocations: 26.83 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.595e-05/0.5045, allocations: 81.27 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.5045, allocations: 3.906 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.5045, allocations: 17.47 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.5045, allocations: 320.3 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.5046, allocations: 6.5 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.5046, allocations: 12.88 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.5046, allocations: 25.52 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5046, allocations: 0 / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.404e-05/0.5047, allocations: 50.28 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.5047, allocations: 8.938 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.5047, allocations: 1.562 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.5047, allocations: 0 / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.5048, allocations: 7.469 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5048, allocations: 4.797 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.5048, allocations: 5.469 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.5048, allocations: 1.219 kB / 0.9519 GB, free: 6.832 MB / 0.7169 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.447e-05/0.5048, allocations: 111.3 kB / 0.952 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.5049, allocations: 9.062 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.5049, allocations: 56.22 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5049, allocations: 1.062 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5049, allocations: 3.984 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.5049, allocations: 256 / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.988e-05/0.505, allocations: 155.6 kB / 0.9522 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.505, allocations: 7.938 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.505, allocations: 3.812 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5051, allocations: 3.938 kB / 0.9522 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.5051, allocations: 5.219 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5051, allocations: 0 / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5051, allocations: 0 / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.5052, allocations: 78.8 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.5052, allocations: 83.55 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.5052, allocations: 4.938 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.5052, allocations: 0 / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.5052, allocations: 9.641 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.5052, allocations: 5.547 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.5053, allocations: 85.69 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5053, allocations: 0 / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001646/0.5054, allocations: 7.562 kB / 0.9525 GB, free: 6.164 MB / 0.7169 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.0001911/0.5056, allocations: 0.6098 MB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.787e-05/0.5057, allocations: 24.55 kB / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.5057, allocations: 0 / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.5057, allocations: 10.3 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.5059, allocations: 2.781 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.5064, allocations: 1.151 MB / 0.9543 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.232e-05/0.5065, allocations: 0.6832 MB / 0.9549 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.151e-05/0.5065, allocations: 2.438 kB / 0.9549 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.5065, allocations: 16.56 kB / 0.9549 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/0.5065, allocations: 0 / 0.9549 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.603/2.11, allocations: 1.161 MB / 0.9561 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/10.75, allocations: 9.672 kB / 0.9561 GB, free: 2.969 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches