Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_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.006432/0.006432, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001702/0.001702, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.355/2.355, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 71.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2348, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001335/0.2362, allocations: 0.5311 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.2363, allocations: 39.88 kB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.2364, allocations: 0 / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.2364, allocations: 3.938 kB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2366, allocations: 7.984 kB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-05/0.2366, allocations: 7.938 kB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.223e-05/0.2367, allocations: 7.984 kB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.2367, allocations: 11.94 kB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.2367, allocations: 0 / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.2368, allocations: 15.98 kB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2368, allocations: 0 / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.2368, allocations: 0 / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.2369, allocations: 7.922 kB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.2369, allocations: 4 kB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.098e-05/0.237, allocations: 11.92 kB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.237, allocations: 0 / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.237, allocations: 0 / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.237, allocations: 0 / 1.167 GB, free: 6.727 MB / 0.92 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.0003668/0.2373, allocations: 339.7 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2374, allocations: 8.031 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.2374, allocations: 34.69 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.2374, allocations: 8.891 kB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.2376, allocations: 176.3 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.2376, allocations: 4.359 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.2376, allocations: 384 / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.166e-05/0.2377, allocations: 30.27 kB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2377, allocations: 7.938 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.2377, allocations: 0 / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2377, allocations: 0 / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.2378, allocations: 11.92 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.2379, allocations: 153.7 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/0.238, allocations: 22.86 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.238, allocations: 12.92 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.238, allocations: 3.938 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.238, allocations: 34.56 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.238, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.2382, allocations: 61.5 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2382, allocations: 51.41 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.2383, allocations: 105.8 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2383, allocations: 25.7 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2383, allocations: 84.14 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.2384, allocations: 8.125 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.2384, allocations: 17.72 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2385, allocations: 314.8 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.2385, allocations: 4 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.2386, allocations: 17.72 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.2386, allocations: 21.77 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2386, allocations: 4 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.118e-05/0.2387, allocations: 53.58 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2387, allocations: 10.12 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2387, allocations: 0 / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.2387, allocations: 0 / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.2388, allocations: 4 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.2388, allocations: 0 / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.2388, allocations: 4 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2388, allocations: 3.984 kB / 1.168 GB, free: 4.879 MB / 0.92 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.486e-05/0.2389, allocations: 117.8 kB / 1.168 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.2389, allocations: 3.938 kB / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.239, allocations: 49.22 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.239, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.239, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.239, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2391, allocations: 161.6 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2391, allocations: 0 / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2392, allocations: 4 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.2392, allocations: 7.969 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.2392, allocations: 0 / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2392, allocations: 4 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2392, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2393, allocations: 88.94 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.2394, allocations: 81.14 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.2394, allocations: 8.125 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.2394, allocations: 8.094 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-06/0.2394, allocations: 0 / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2394, allocations: 3.984 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.2395, allocations: 87.28 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2395, allocations: 0 / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001622/0.2397, allocations: 4 kB / 1.169 GB, free: 4.156 MB / 0.92 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.0003669/0.2401, allocations: 0.6163 MB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.2401, allocations: 15.98 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2401, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.2402, allocations: 4 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.2403, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.2411, allocations: 1.163 MB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2414, allocations: 0.6807 MB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.2414, allocations: 0 / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.2415, allocations: 11.44 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.2415, allocations: 0 / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.208/3.45, allocations: 1.173 MB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/20.16, allocations: 15.61 kB / 1.173 GB, free: 420 kB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches