Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_10_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.0009953/0.0009953, 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.001007/0.001007, allocations: 196.3 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6639, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001831/0.6658, allocations: 0.5191 MB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.666, allocations: 19.91 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.666, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.6661, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.6662, allocations: 11.92 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.6662, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.663e-05/0.6663, allocations: 4 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.6663, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.6664, allocations: 4 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.6664, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.6664, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.6665, allocations: 7.938 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.6665, allocations: 3.938 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.6665, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.927e-05/0.6665, allocations: 11.98 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6666, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6666, allocations: 3.938 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.6666, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 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.0002851/0.6669, allocations: 319.5 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6669, allocations: 8.031 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.6669, allocations: 30.75 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.667, allocations: 8.938 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.6671, allocations: 164.4 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6671, allocations: 384 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.6671, allocations: 384 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.6672, allocations: 43.98 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6672, allocations: 7.875 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.6672, allocations: 0 / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6673, allocations: 0 / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.6673, allocations: 11.94 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.6674, allocations: 158.6 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/0.6675, allocations: 37.19 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.6675, allocations: 9.719 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.6675, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.6676, allocations: 42.62 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.6676, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.6677, allocations: 45.56 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.6678, allocations: 77.11 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.6678, allocations: 97.86 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6679, allocations: 25.7 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.6679, allocations: 84.52 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.6679, allocations: 10.14 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.668, allocations: 13.72 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.6681, allocations: 314.8 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.6681, allocations: 0 / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.6681, allocations: 13.72 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.6681, allocations: 29.72 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6681, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.307e-05/0.6682, allocations: 45.62 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6682, allocations: 7.938 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6682, allocations: 3.984 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6683, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.6683, allocations: 4 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.6683, allocations: 3.938 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.6684, allocations: 4 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6684, allocations: 8.047 kB / 1.02 GB, free: 48 kB / 0.7637 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 8.728e-05/0.6685, allocations: 109.8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.6685, allocations: 7.938 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.6686, allocations: 48.75 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6686, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6686, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6686, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.6687, allocations: 157.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6687, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.6688, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6688, allocations: 3.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.6688, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6688, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6688, allocations: 4 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.046e-05/0.6689, allocations: 73.92 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.669, allocations: 81.02 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.669, allocations: 7.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.669, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.669, allocations: 4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.669, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.6691, allocations: 83.27 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6691, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001827/0.6692, allocations: 128 / 1.02 GB, free: 15.37 MB / 0.7794 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.0003378/0.6696, allocations: 0.6093 MB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.493e-05/0.6697, allocations: 12 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6697, allocations: 4.156 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.6697, allocations: 7.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.6698, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.6702, allocations: 119.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.6704, allocations: 0.6729 MB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.6704, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.6704, allocations: 11.56 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of SimCode: time 5e-07/0.6705, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.825/3.496, allocations: 0.8931 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/12.3, allocations: 22.7 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches