Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",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.001358/0.001358, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.265/2.265, allocations: 390.2 MB / 0.6644 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5345, allocations: 140.4 MB / 0.9492 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001331/0.5359, allocations: 0.5868 MB / 0.9498 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.181e-05/0.536, allocations: 11.45 kB / 0.9498 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.536, allocations: 1.156 kB / 0.9498 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.536, allocations: 0 / 0.9498 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.5361, allocations: 5.156 kB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-06/0.5361, allocations: 4 kB / 0.9498 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.67e-05/0.5362, allocations: 11.06 kB / 0.9498 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.5362, allocations: 5.078 kB / 0.9498 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.5363, allocations: 1.281 kB / 0.9498 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.5363, allocations: 6.203 kB / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.5363, allocations: 0 / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-06/0.5363, allocations: 0 / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.5363, allocations: 1.031 kB / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.175e-05/0.5363, allocations: 3.938 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.079e-05/0.5364, allocations: 5.594 kB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5364, allocations: 0 / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5364, allocations: 5.625 kB / 0.9499 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.5364, allocations: 0 / 0.9499 GB, free: 8.559 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001698/0.5366, allocations: 315.7 kB / 0.9502 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5366, allocations: 8.812 kB / 0.9502 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.097e-05/0.5366, allocations: 36.34 kB / 0.9502 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.661e-05/0.5367, allocations: 4.844 kB / 0.9502 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.626e-05/0.5367, allocations: 162.2 kB / 0.9504 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.5367, allocations: 4.359 kB / 0.9504 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.5367, allocations: 384 / 0.9504 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.777e-05/0.5368, allocations: 52.56 kB / 0.9504 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.5368, allocations: 3.938 kB / 0.9504 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.5368, allocations: 0 / 0.9504 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5368, allocations: 1.406 kB / 0.9504 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.5369, allocations: 6.562 kB / 0.9504 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.631e-05/0.5369, allocations: 157.3 kB / 0.9506 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.15e-05/0.537, allocations: 36.03 kB / 0.9506 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.537, allocations: 15.12 kB / 0.9506 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.537, allocations: 1.5 kB / 0.9506 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.537, allocations: 36 kB / 0.9507 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.537, allocations: 0 / 0.9507 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001069/0.5372, allocations: 51.28 kB / 0.9507 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.5372, allocations: 82.27 kB / 0.9508 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.281e-05/0.5372, allocations: 95.23 kB / 0.9509 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-06/0.5372, allocations: 25.7 kB / 0.9509 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-06/0.5372, allocations: 80.14 kB / 0.951 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.5373, allocations: 7.594 kB / 0.951 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.5373, allocations: 12.53 kB / 0.951 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.5373, allocations: 324.1 kB / 0.9513 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.5373, allocations: 1.344 kB / 0.9513 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.5374, allocations: 12.47 kB / 0.9513 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.5374, allocations: 18 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5374, allocations: 1.438 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.657e-05/0.5374, allocations: 50.62 kB / 0.9514 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5375, allocations: 9.875 kB / 0.9514 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5375, allocations: 5.281 kB / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.5375, allocations: 0 / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.5375, allocations: 4.156 kB / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.5375, allocations: 0 / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.5376, allocations: 1.25 kB / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.5376, allocations: 1.5 kB / 0.9514 GB, free: 6.781 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.339e-05/0.5376, allocations: 115 kB / 0.9515 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.5376, allocations: 9.406 kB / 0.9515 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8e-05/0.5377, allocations: 48.84 kB / 0.9516 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.5377, allocations: 1.375 kB / 0.9516 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5377, allocations: 3.984 kB / 0.9516 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5377, allocations: 1.375 kB / 0.9516 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.458e-05/0.5378, allocations: 148.4 kB / 0.9517 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5378, allocations: 0 / 0.9517 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.5378, allocations: 2.75 kB / 0.9517 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5378, allocations: 9.375 kB / 0.9517 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5378, allocations: 5.359 kB / 0.9517 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5378, allocations: 0 / 0.9517 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5378, allocations: 1.375 kB / 0.9517 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.777e-05/0.5379, allocations: 66.19 kB / 0.9518 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.5379, allocations: 82.47 kB / 0.9519 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.5379, allocations: 5.312 kB / 0.9519 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.5379, allocations: 5.406 kB / 0.9519 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.538, allocations: 9.312 kB / 0.9519 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.538, allocations: 1.375 kB / 0.9519 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.199e-05/0.538, allocations: 75.28 kB / 0.952 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.538, allocations: 1.375 kB / 0.952 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001655/0.5382, allocations: 1.375 kB / 0.952 GB, free: 6.133 MB / 0.7169 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.0001742/0.5383, allocations: 0.6139 MB / 0.9526 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.135e-05/0.5384, allocations: 13.48 kB / 0.9526 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5384, allocations: 1.375 kB / 0.9526 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.5384, allocations: 6.688 kB / 0.9526 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.5385, allocations: 3.031 kB / 0.9526 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.5387, allocations: 119.8 kB / 0.9527 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.5388, allocations: 0.6793 MB / 0.9534 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.5388, allocations: 1.375 kB / 0.9534 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.5389, allocations: 8.812 kB / 0.9534 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.5389, allocations: 0 / 0.9534 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8896/1.428, allocations: 0.835 MB / 0.9542 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.429, allocations: 198.8 kB / 0.9544 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/3.386, allocations: 0 / 0.9544 GB, free: 3.922 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches