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.001589/0.001589, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001851/0.001851, allocations: 191 kB / 16.25 MB, free: 6.637 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.445 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.305/2.305, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.552, allocations: 140.4 MB / 0.9492 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001648/0.5537, allocations: 0.5865 MB / 0.9498 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.5539, allocations: 38.16 kB / 0.9498 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.554, allocations: 0 / 0.9498 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.554, allocations: 4 kB / 0.9498 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.5542, allocations: 5.188 kB / 0.9498 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.4e-05/0.5542, allocations: 6.734 kB / 0.9499 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.5543, allocations: 17.42 kB / 0.9499 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.5543, allocations: 5.188 kB / 0.9499 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.5544, allocations: 2.75 kB / 0.9499 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.5544, allocations: 8.016 kB / 0.9499 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.5544, allocations: 1.375 kB / 0.9499 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.5545, allocations: 0 / 0.9499 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.5545, allocations: 6.688 kB / 0.9499 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.5545, allocations: 13.36 kB / 0.9499 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.081e-05/0.5546, allocations: 19.98 kB / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5546, allocations: 0 / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5546, allocations: 0 / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.5546, allocations: 0 / 0.9499 GB, free: 8.645 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.000327/0.5549, allocations: 324.7 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.555, allocations: 9.625 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.555, allocations: 34.75 kB / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.555, allocations: 10.2 kB / 0.9503 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.5552, allocations: 165.9 kB / 0.9504 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.5552, allocations: 5.75 kB / 0.9504 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.5552, allocations: 384 / 0.9504 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.9e-05/0.5553, allocations: 38.38 kB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5553, allocations: 3.938 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.5553, allocations: 0 / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.5553, allocations: 0 / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.819e-05/0.5554, allocations: 14.61 kB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.5555, allocations: 153.8 kB / 0.9506 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.5555, allocations: 30.69 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.5555, allocations: 7.609 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5556, allocations: 0 / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.5556, allocations: 31.94 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.5556, allocations: 0 / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.5557, allocations: 47.19 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.5557, allocations: 52.78 kB / 0.9508 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.5558, allocations: 115.6 kB / 0.9509 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.5558, allocations: 27.08 kB / 0.9509 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.028e-05/0.5558, allocations: 85.52 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.5559, allocations: 3.906 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.5559, allocations: 12.47 kB / 0.951 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.556, allocations: 316.2 kB / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.556, allocations: 6.734 kB / 0.9514 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.556, allocations: 17.84 kB / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.556, allocations: 28.52 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.556, allocations: 1.375 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.634e-05/0.5561, allocations: 40.69 kB / 0.9514 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5561, allocations: 13.38 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5561, allocations: 1.375 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5562, allocations: 128 / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.5562, allocations: 12.06 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5562, allocations: 0 / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.5563, allocations: 1.375 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.5563, allocations: 1.375 kB / 0.9515 GB, free: 6.934 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 4.785e-05/0.5563, allocations: 116.6 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.5563, allocations: 9.219 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.331e-05/0.5564, allocations: 50.78 kB / 0.9516 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.5564, allocations: 1.375 kB / 0.9516 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5564, allocations: 4.031 kB / 0.9516 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.5564, allocations: 0 / 0.9516 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.241e-05/0.5565, allocations: 151.2 kB / 0.9518 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5565, allocations: 1.375 kB / 0.9518 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.5566, allocations: 10.73 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5566, allocations: 7.875 kB / 0.9518 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.5566, allocations: 5.312 kB / 0.9518 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.5566, allocations: 256 / 0.9518 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5566, allocations: 4 kB / 0.9518 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.725e-05/0.5567, allocations: 75 kB / 0.9519 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.5567, allocations: 87.75 kB / 0.952 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.5567, allocations: 3.938 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.5568, allocations: 1.375 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.5568, allocations: 1.375 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.5568, allocations: 0 / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.5568, allocations: 91.52 kB / 0.9521 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5568, allocations: 0 / 0.9521 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001941/0.557, allocations: 6.844 kB / 0.9521 GB, free: 6.27 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.0002451/0.5573, allocations: 0.6133 MB / 0.9527 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.5574, allocations: 13.61 kB / 0.9527 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5574, allocations: 224 / 0.9527 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.5574, allocations: 17.44 kB / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.5575, allocations: 3.25 kB / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.5582, allocations: 1.157 MB / 0.9538 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.5583, allocations: 0.6861 MB / 0.9545 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.5584, allocations: 2.562 kB / 0.9545 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.5584, allocations: 12.67 kB / 0.9545 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5584, allocations: 4 kB / 0.9545 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8744/1.433, allocations: 1.077 MB / 0.9556 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.433, allocations: 198.4 kB / 0.9558 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.671, allocations: 0.9688 kB / 0.9558 GB, free: 2.941 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