Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_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.001008/0.001008, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007658/0.007659, allocations: 170.4 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.574, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2177/0.7917, allocations: 232.2 MB / 1.182 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.811, allocations: 15.75 MB / 1.197 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.813, allocations: 51.62 kB / 1.197 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.8153, allocations: 0.8627 MB / 1.198 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.8221, allocations: 2.794 MB / 1.201 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.8257, allocations: 1.515 MB / 1.202 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004683/0.8304, allocations: 4.666 MB / 1.207 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.8317, allocations: 1.033 MB / 1.208 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004981/0.8367, allocations: 2.216 MB / 1.21 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.8387, allocations: 1.074 MB / 1.211 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.8388, allocations: 48 kB / 1.211 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/0.8442, allocations: 3.573 MB / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.8446, allocations: 402.5 kB / 1.215 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.8453, allocations: 0.7437 MB / 1.216 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.8488, allocations: 3.053 MB / 1.219 GB, free: 372 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8488, allocations: 0 / 1.219 GB, free: 372 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8488, allocations: 0 / 1.219 GB, free: 372 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.8489, allocations: 0 / 1.219 GB, free: 372 kB / 0.9669 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.002924/0.8518, allocations: 1.717 MB / 1.221 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.8518, allocations: 12.03 kB / 1.221 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.852, allocations: 152.2 kB / 1.221 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.8547, allocations: 0.5405 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.8566, allocations: 1.114 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009495/0.8576, allocations: 281.8 kB / 1.223 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.8578, allocations: 92 kB / 1.223 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.86, allocations: 1.339 MB / 1.224 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.8601, allocations: 11.94 kB / 1.224 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.8602, allocations: 40 kB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.8602, allocations: 45.98 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.8628, allocations: 1.12 MB / 1.225 GB, free: 9.699 MB / 0.9825 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.006736/0.8695, allocations: 6.65 MB / 1.232 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.8713, allocations: 0.6011 MB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.872, allocations: 285.2 kB / 1.233 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.8723, allocations: 287.6 kB / 1.233 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.8724, allocations: 38.84 kB / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.8724, allocations: 0 / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002428/0.8748, allocations: 0.91 MB / 1.234 GB, free: 424 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.8749, allocations: 55.41 kB / 1.234 GB, free: 356 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.8766, allocations: 1.362 MB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.8767, allocations: 33.7 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/0.8772, allocations: 0.6873 MB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.401e-05/0.8773, allocations: 118.4 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.8774, allocations: 61.69 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8775, allocations: 333.9 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008919/0.8784, allocations: 317.1 kB / 1.237 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.8795, allocations: 0.6496 MB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.8813, allocations: 0.8859 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.8813, allocations: 7.938 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002329/0.8836, allocations: 1.039 MB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.8839, allocations: 366.2 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.8839, allocations: 15.94 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.8839, allocations: 12 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/0.8848, allocations: 203.7 kB / 1.24 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.8848, allocations: 15.94 kB / 1.24 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.8862, allocations: 230.7 kB / 1.24 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.8863, allocations: 47.98 kB / 1.24 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.8863, allocations: 7.938 kB / 1.24 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002128/0.8884, allocations: 0.8746 MB / 1.241 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8885, allocations: 12.03 kB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.8885, allocations: 12 kB / 1.241 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.8893, allocations: 203.7 kB / 1.241 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8893, allocations: 15.94 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.8906, allocations: 199 kB / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.8906, allocations: 40 kB / 1.241 GB, free: 8.195 MB / 0.9981 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.0004723/0.8911, allocations: 416.7 kB / 1.242 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.8913, allocations: 134.3 kB / 1.242 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.8931, allocations: 0.699 MB / 1.242 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.8931, allocations: 4 kB / 1.242 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8931, allocations: 0 / 1.242 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8931, allocations: 3.984 kB / 1.242 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.8966, allocations: 1.978 MB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8966, allocations: 4 kB / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.8971, allocations: 104 kB / 1.245 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8971, allocations: 4 kB / 1.245 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.8972, allocations: 15.98 kB / 1.245 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.8972, allocations: 8 kB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8972, allocations: 4 kB / 1.245 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.8988, allocations: 0.8578 MB / 1.245 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.8993, allocations: 295.1 kB / 1.246 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.8995, allocations: 12 kB / 1.246 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.9007, allocations: 119.8 kB / 1.246 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.9008, allocations: 28 kB / 1.246 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.9008, allocations: 19.98 kB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001385/0.9022, allocations: 0.9964 MB / 1.247 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9022, allocations: 3.938 kB / 1.247 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001585/0.9038, allocations: 0.5733 MB / 1.247 GB, free: 1.723 MB / 0.9981 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.002311/0.9061, allocations: 1.558 MB / 1.249 GB, free: 96 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4024/1.308, allocations: 1.138 MB / 1.25 GB, free: 284.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.309, allocations: 0.9062 kB / 1.25 GB, free: 284.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007608/1.309, allocations: 277.8 kB / 1.25 GB, free: 284.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/1.314, allocations: 0.7836 MB / 1.251 GB, free: 284.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/1.334, allocations: 10.85 MB / 1.262 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/1.335, allocations: 1.19 MB / 1.263 GB, free: 278 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001816/1.337, allocations: 368.2 kB / 1.263 GB, free: 278 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/1.337, allocations: 0.4965 MB / 1.264 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.337, allocations: 0 / 1.264 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.207/3.544, allocations: 36.07 MB / 1.299 GB, free: 253.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/3.545, allocations: 231.4 kB / 1.299 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.616/7.16, allocations: 3.938 kB / 1.299 GB, free: 252.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches