Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_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.0008873/0.0008875, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005487/0.005487, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002969, allocations: 14.78 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2399, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0005995/0.2405, allocations: 258.9 kB / 1.059 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.2406, allocations: 19.97 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.2407, allocations: 4 kB / 1.059 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.2407, allocations: 0 / 1.059 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.2408, allocations: 7.938 kB / 1.059 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.625e-06/0.2408, allocations: 0 / 1.059 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.682e-05/0.2409, allocations: 0 / 1.059 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.2409, allocations: 7.984 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.241, allocations: 4 kB / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.241, allocations: 0 / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.241, allocations: 0 / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.241, allocations: 4 kB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.241, allocations: 3.938 kB / 1.059 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.2411, allocations: 37.62 kB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.039e-05/0.2411, allocations: 0 / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2411, allocations: 0 / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2411, allocations: 0 / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.2411, allocations: 0 / 1.059 GB, free: 4.551 MB / 0.8106 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.0002272/0.2414, allocations: 307.6 kB / 1.059 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2414, allocations: 11.97 kB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.2414, allocations: 30.75 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.914e-05/0.2415, allocations: 4.938 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.013e-05/0.2416, allocations: 168.4 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2416, allocations: 384 / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2416, allocations: 4.375 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.612e-05/0.2417, allocations: 39.98 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2417, allocations: 7.875 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.2417, allocations: 3.938 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2417, allocations: 4 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.2418, allocations: 3.984 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.2419, allocations: 162.5 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.242, allocations: 41.19 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.242, allocations: 9.719 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.242, allocations: 7.969 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.242, allocations: 38.62 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2421, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.2422, allocations: 45.58 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2422, allocations: 77.11 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.179e-05/0.2423, allocations: 97.84 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2423, allocations: 25.7 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.2423, allocations: 80.52 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2424, allocations: 12.12 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.2424, allocations: 13.72 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.2425, allocations: 318.8 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.2425, allocations: 0 / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.2425, allocations: 17.66 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.2426, allocations: 17.72 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2426, allocations: 8.047 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.083e-05/0.2426, allocations: 37.64 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2426, allocations: 9.344 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2427, allocations: 7.984 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2427, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.2427, allocations: 4 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2428, allocations: 0 / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.2428, allocations: 3.984 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2428, allocations: 0 / 1.061 GB, free: 2.691 MB / 0.8106 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 6.501e-05/0.2429, allocations: 117.9 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-06/0.2429, allocations: 3.938 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.243, allocations: 48.75 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.243, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.243, allocations: 4 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.243, allocations: 0 / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.2431, allocations: 149.6 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2431, allocations: 8.062 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.2431, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.2431, allocations: 7.938 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2432, allocations: 4 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2432, allocations: 0 / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2432, allocations: 3.938 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.545e-05/0.2432, allocations: 69.89 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.2433, allocations: 89.14 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2433, allocations: 3.938 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.2433, allocations: 3.938 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.2434, allocations: 4 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2434, allocations: 0 / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.2434, allocations: 79.27 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2434, allocations: 0 / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001716/0.2436, allocations: 4 kB / 1.061 GB, free: 2 MB / 0.8106 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.0002971/0.2439, allocations: 0.6055 MB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.244e-05/0.2439, allocations: 8 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.244, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.244, allocations: 12.09 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.2441, allocations: 4 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.2444, allocations: 117.3 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.2446, allocations: 0.6731 MB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.2446, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.2446, allocations: 7.438 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of SimCode: time 1.934e-06/0.2446, allocations: 128 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.713/4.958, allocations: 0.7457 MB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/4.958, allocations: 207.5 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/7.191, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches