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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 148 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.001783/0.001783, allocations: 194.1 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.158/2.158, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.05 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.543, allocations: 140.4 MB / 0.9497 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001498/0.5446, allocations: 0.5172 MB / 0.9502 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001016/0.5447, allocations: 11.44 kB / 0.9502 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.5447, allocations: 5.625 kB / 0.9502 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.5447, allocations: 3.938 kB / 0.9502 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.5449, allocations: 1.781 kB / 0.9502 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.396e-06/0.5449, allocations: 3.938 kB / 0.9502 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.172e-05/0.5449, allocations: 13.48 kB / 0.9503 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.545, allocations: 1.344 kB / 0.9503 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.545, allocations: 2.219 kB / 0.9503 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.545, allocations: 9.016 kB / 0.9503 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.5451, allocations: 0 / 0.9503 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.5451, allocations: 1.25 kB / 0.9503 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.5451, allocations: 4 kB / 0.9503 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.5451, allocations: 5.312 kB / 0.9503 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.372e-05/0.5451, allocations: 1.438 kB / 0.9503 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5451, allocations: 0 / 0.9503 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5452, allocations: 0 / 0.9503 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5452, allocations: 0 / 0.9503 GB, free: 8.855 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.000194/0.5454, allocations: 312.1 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5454, allocations: 12.89 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.5454, allocations: 32 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.5454, allocations: 4.844 kB / 0.9506 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.802e-05/0.5455, allocations: 165.6 kB / 0.9508 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.5455, allocations: 1.469 kB / 0.9508 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-06/0.5455, allocations: 1.656 kB / 0.9508 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.443e-05/0.5456, allocations: 50.94 kB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.5456, allocations: 3.938 kB / 0.9508 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.5456, allocations: 5.422 kB / 0.9508 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5456, allocations: 0 / 0.9508 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.5457, allocations: 2.688 kB / 0.9508 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.151e-05/0.5458, allocations: 161 kB / 0.951 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.5458, allocations: 36.69 kB / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.5458, allocations: 16.02 kB / 0.951 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5458, allocations: 0 / 0.951 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.5459, allocations: 41.03 kB / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.5459, allocations: 0 / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001056/0.546, allocations: 42.39 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.546, allocations: 86.44 kB / 0.9512 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.209e-05/0.546, allocations: 95.3 kB / 0.9513 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.546, allocations: 25.7 kB / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-06/0.5461, allocations: 84.52 kB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.5461, allocations: 8.375 kB / 0.9514 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.5461, allocations: 15.72 kB / 0.9514 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.41e-05/0.5461, allocations: 316.8 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.5462, allocations: 0 / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.5462, allocations: 16.95 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.5462, allocations: 19 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5462, allocations: 3.938 kB / 0.9518 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.962e-05/0.5463, allocations: 42.11 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5463, allocations: 9 kB / 0.9518 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5463, allocations: 5.672 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.5463, allocations: 0 / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.5464, allocations: 6.906 kB / 0.9518 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5464, allocations: 1.281 kB / 0.9518 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.5464, allocations: 1.281 kB / 0.9518 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.5464, allocations: 5.5 kB / 0.9518 GB, free: 7.07 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.451e-05/0.5464, allocations: 107.5 kB / 0.9519 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.5465, allocations: 3.938 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.5465, allocations: 50 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5465, allocations: 1.375 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5466, allocations: 0 / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5466, allocations: 1.281 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.867e-05/0.5466, allocations: 155.1 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5466, allocations: 1.438 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.5466, allocations: 6.688 kB / 0.9521 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5467, allocations: 5.344 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.5467, allocations: 0 / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.5467, allocations: 1.406 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5467, allocations: 0 / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.829e-05/0.5467, allocations: 71.8 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.5468, allocations: 78.52 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.5468, allocations: 9.328 kB / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.5468, allocations: 0 / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.5468, allocations: 5.625 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.5468, allocations: 1.281 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.283e-05/0.5468, allocations: 80.44 kB / 0.9524 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.21e-07/0.5468, allocations: 0 / 0.9524 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001782/0.547, allocations: 5.469 kB / 0.9524 GB, free: 6.43 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.000183/0.5472, allocations: 0.6093 MB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.036e-05/0.5473, allocations: 18.91 kB / 0.953 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5473, allocations: 4.156 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.5473, allocations: 4.094 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.5474, allocations: 8.203 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.5477, allocations: 111.3 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.189e-05/0.5478, allocations: 0.6781 MB / 0.9538 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.5478, allocations: 1.156 kB / 0.9538 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.5478, allocations: 16.88 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.5478, allocations: 0 / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6461/1.194, allocations: 0.8995 MB / 0.9547 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.868, allocations: 7.422 kB / 0.9547 GB, free: 4.363 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