Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",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.001632/0.001632, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002062/0.002063, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 60.14 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5559, allocations: 151.6 MB / 1.017 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2456/0.8016, allocations: 235.5 MB / 1.247 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.537/1.339, allocations: 15.88 MB / 1.262 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/1.341, allocations: 57.77 kB / 1.262 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/1.344, allocations: 0.8754 MB / 1.263 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007839/1.352, allocations: 2.804 MB / 1.266 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004281/1.356, allocations: 1.507 MB / 1.267 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007369/1.363, allocations: 4.657 MB / 1.272 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/1.365, allocations: 1.077 MB / 1.273 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005882/1.371, allocations: 2.26 MB / 1.275 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/1.374, allocations: 1.123 MB / 1.276 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/1.374, allocations: 66.44 kB / 1.276 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006572/1.38, allocations: 3.591 MB / 1.28 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006119/1.381, allocations: 432.7 kB / 1.28 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/1.382, allocations: 0.7525 MB / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004518/1.387, allocations: 3.093 MB / 1.284 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.387, allocations: 0 / 1.284 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.92e-07/1.387, allocations: 0 / 1.284 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.768e-05/1.387, allocations: 0 / 1.284 GB, free: 1.457 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003371/1.39, allocations: 2.006 MB / 1.286 GB, free: 16.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.39, allocations: 9.625 kB / 1.286 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/1.39, allocations: 158.4 kB / 1.286 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/1.393, allocations: 0.4961 MB / 1.287 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/1.395, allocations: 1.112 MB / 1.288 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008731/1.396, allocations: 245.6 kB / 1.288 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.396, allocations: 97.81 kB / 1.288 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/1.399, allocations: 1.321 MB / 1.289 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/1.399, allocations: 9.672 kB / 1.289 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/1.399, allocations: 38.12 kB / 1.289 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/1.399, allocations: 47.25 kB / 1.289 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/1.401, allocations: 1.075 MB / 1.29 GB, free: 15.54 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007191/1.408, allocations: 6.63 MB / 1.297 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.41, allocations: 0.559 MB / 1.297 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/1.41, allocations: 272.6 kB / 1.298 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/1.411, allocations: 281.4 kB / 1.298 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/1.411, allocations: 41.78 kB / 1.298 GB, free: 10.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/1.411, allocations: 0 / 1.298 GB, free: 10.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002554/1.414, allocations: 0.8629 MB / 1.299 GB, free: 10.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.414, allocations: 56.31 kB / 1.299 GB, free: 10.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.415, allocations: 1.365 MB / 1.3 GB, free: 10.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/1.415, allocations: 37.36 kB / 1.3 GB, free: 10.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/1.416, allocations: 0.6811 MB / 1.301 GB, free: 10.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/1.416, allocations: 126.9 kB / 1.301 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/1.416, allocations: 146.5 kB / 1.301 GB, free: 10.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.416, allocations: 328.8 kB / 1.301 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008452/1.417, allocations: 312.7 kB / 1.302 GB, free: 9.898 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.418, allocations: 0.6213 MB / 1.302 GB, free: 9.504 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/1.42, allocations: 0.8629 MB / 1.303 GB, free: 9.137 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.42, allocations: 3.734 kB / 1.303 GB, free: 9.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002307/1.422, allocations: 0.9948 MB / 1.304 GB, free: 9.016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.422, allocations: 15.73 kB / 1.304 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.422, allocations: 12.66 kB / 1.304 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.422, allocations: 13.31 kB / 1.304 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/1.423, allocations: 188.6 kB / 1.304 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/1.423, allocations: 18.73 kB / 1.304 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.425, allocations: 215.9 kB / 1.305 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/1.425, allocations: 39.38 kB / 1.305 GB, free: 8.938 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001222/1.426, allocations: 0.5716 MB / 1.305 GB, free: 8.844 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/1.427, allocations: 0.624 MB / 1.306 GB, free: 8.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001607/1.429, allocations: 0.8543 MB / 1.307 GB, free: 8.078 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.651e-06/1.429, allocations: 3.375 kB / 1.307 GB, free: 8.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002327/1.431, allocations: 0.9937 MB / 1.308 GB, free: 7.961 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.431, allocations: 14.69 kB / 1.308 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.431, allocations: 10.97 kB / 1.308 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.431, allocations: 14.38 kB / 1.308 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/1.432, allocations: 195.2 kB / 1.308 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.432, allocations: 19.12 kB / 1.308 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.433, allocations: 162.1 kB / 1.308 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/1.434, allocations: 40.95 kB / 1.308 GB, free: 7.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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 0.0002228/1.434, allocations: 223.3 kB / 1.308 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/1.434, allocations: 142.2 kB / 1.308 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/1.436, allocations: 0.6533 MB / 1.309 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.436, allocations: 8.859 kB / 1.309 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.436, allocations: 4 kB / 1.309 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.436, allocations: 4.531 kB / 1.309 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/1.439, allocations: 1.925 MB / 1.311 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.439, allocations: 3.594 kB / 1.311 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/1.439, allocations: 98.16 kB / 1.311 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.439, allocations: 5.125 kB / 1.311 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/1.44, allocations: 18.72 kB / 1.311 GB, free: 7.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.44, allocations: 8.469 kB / 1.311 GB, free: 7.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.44, allocations: 5.688 kB / 1.311 GB, free: 7.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.441, allocations: 0.8199 MB / 1.312 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/1.441, allocations: 294.8 kB / 1.312 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.442, allocations: 15.22 kB / 1.312 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.443, allocations: 101 kB / 1.312 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/1.443, allocations: 41.03 kB / 1.312 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/1.443, allocations: 21.09 kB / 1.312 GB, free: 6.512 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001347/1.444, allocations: 0.9936 MB / 1.313 GB, free: 6.402 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.01e-07/1.444, allocations: 0 / 1.313 GB, free: 6.402 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001642/1.446, allocations: 0.5677 MB / 1.314 GB, free: 6.352 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002344/1.448, allocations: 1.536 MB / 1.315 GB, free: 5.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002993/1.451, allocations: 1.083 MB / 1.316 GB, free: 5.395 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.451, allocations: 2.406 kB / 1.316 GB, free: 5.395 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006534/1.452, allocations: 265 kB / 1.317 GB, free: 5.387 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.455, allocations: 0.7413 MB / 1.317 GB, free: 5.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.474, allocations: 10.72 MB / 1.328 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/1.475, allocations: 1.18 MB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001675/1.477, allocations: 363.7 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/1.477, allocations: 498.3 kB / 1.33 GB, free: 15.89 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/1.477, allocations: 2.906 kB / 1.33 GB, free: 15.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1749/1.652, allocations: 34.15 MB / 1.363 GB, free: 15.42 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.652, allocations: 230.7 kB / 1.363 GB, free: 15.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/4.248, allocations: 0 / 1.363 GB, free: 15.17 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches