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.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.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.001765/0.001765, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.312/2.312, allocations: 390.2 MB / 0.6647 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.88 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5654, allocations: 140.3 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2244/0.7898, allocations: 237.6 MB / 1.182 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.8106, allocations: 15.78 MB / 1.197 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.8125, allocations: 59.62 kB / 1.197 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.8151, allocations: 1.041 MB / 1.198 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006591/0.8217, allocations: 2.986 MB / 1.201 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.8253, allocations: 1.67 MB / 1.203 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003802/0.8292, allocations: 3.434 MB / 1.206 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.8309, allocations: 1.279 MB / 1.207 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.8361, allocations: 2.494 MB / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.8381, allocations: 1.073 MB / 1.211 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.8385, allocations: 116 kB / 1.211 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005585/0.844, allocations: 3.098 MB / 1.214 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.8447, allocations: 482.3 kB / 1.214 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.8461, allocations: 0.8085 MB / 1.215 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.8511, allocations: 2.929 MB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8512, allocations: 0 / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8512, allocations: 4 kB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.24e-05/0.8512, allocations: 0 / 1.218 GB, free: 14.02 MB / 0.9825 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.003762/0.855, allocations: 2.001 MB / 1.22 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.855, allocations: 12.03 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.8552, allocations: 148.2 kB / 1.22 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/0.8579, allocations: 0.5014 MB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.8599, allocations: 1.117 MB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009085/0.8609, allocations: 237.8 kB / 1.222 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.861, allocations: 108 kB / 1.222 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.8633, allocations: 1.358 MB / 1.223 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.8633, allocations: 3.938 kB / 1.223 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.8634, allocations: 44 kB / 1.223 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/0.8635, allocations: 49.98 kB / 1.224 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.8659, allocations: 1.085 MB / 1.225 GB, free: 7.121 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.007206/0.8732, allocations: 7.43 MB / 1.232 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.8749, allocations: 0.5786 MB / 1.232 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.8755, allocations: 261.2 kB / 1.233 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.8759, allocations: 287.6 kB / 1.233 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.8759, allocations: 42.78 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.8759, allocations: 0 / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002402/0.8783, allocations: 0.8634 MB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.8784, allocations: 55.41 kB / 1.234 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.8801, allocations: 1.399 MB / 1.235 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.8802, allocations: 33.7 kB / 1.235 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/0.8807, allocations: 0.6987 MB / 1.236 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.8808, allocations: 126.3 kB / 1.236 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.881, allocations: 162.4 kB / 1.236 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8812, allocations: 337.9 kB / 1.237 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008862/0.8821, allocations: 332.5 kB / 1.237 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.8832, allocations: 0.7009 MB / 1.238 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.885, allocations: 0.9455 MB / 1.238 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.885, allocations: 8 kB / 1.238 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002372/0.8874, allocations: 1.078 MB / 1.24 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.8874, allocations: 12 kB / 1.24 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.8874, allocations: 8 kB / 1.24 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.8875, allocations: 16 kB / 1.24 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.8883, allocations: 212 kB / 1.24 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.8883, allocations: 23.92 kB / 1.24 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.8896, allocations: 194.6 kB / 1.24 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.8897, allocations: 47.98 kB / 1.24 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/0.8908, allocations: 0.576 MB / 1.241 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001091/0.8919, allocations: 0.7008 MB / 1.241 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001748/0.8937, allocations: 0.9449 MB / 1.242 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.332e-06/0.8937, allocations: 11.88 kB / 1.242 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002333/0.8961, allocations: 1.078 MB / 1.243 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.8961, allocations: 16.19 kB / 1.243 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8961, allocations: 8 kB / 1.243 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.8961, allocations: 16 kB / 1.243 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/0.8969, allocations: 215.6 kB / 1.243 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.897, allocations: 27.86 kB / 1.244 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.8981, allocations: 143.5 kB / 1.244 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.8982, allocations: 39.98 kB / 1.244 GB, free: 2.238 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0001941/0.8984, allocations: 236.4 kB / 1.244 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.8986, allocations: 142.4 kB / 1.244 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.9003, allocations: 0.6716 MB / 1.245 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.9003, allocations: 4 kB / 1.245 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.9003, allocations: 0 / 1.245 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9003, allocations: 0 / 1.245 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3575/1.258, allocations: 1.927 MB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.258, allocations: 3.281 kB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/1.258, allocations: 96.36 kB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.258, allocations: 5.781 kB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/1.258, allocations: 14.92 kB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.258, allocations: 7.312 kB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.258, allocations: 11.44 kB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/1.26, allocations: 0.811 MB / 1.248 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/1.26, allocations: 298.2 kB / 1.248 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/1.261, allocations: 10.58 kB / 1.248 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/1.261, allocations: 75.94 kB / 1.248 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/1.262, allocations: 33.64 kB / 1.248 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/1.262, allocations: 24.47 kB / 1.248 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001301/1.263, allocations: 1.01 MB / 1.249 GB, free: 285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.263, allocations: 0 / 1.249 GB, free: 285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001548/1.264, allocations: 0.5784 MB / 1.249 GB, free: 284.9 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.00194/1.266, allocations: 1.535 MB / 1.251 GB, free: 284 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002697/1.269, allocations: 1.174 MB / 1.252 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.269, allocations: 1.156 kB / 1.252 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006588/1.27, allocations: 257.1 kB / 1.252 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.273, allocations: 0.7539 MB / 1.253 GB, free: 283.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.286, allocations: 10.68 MB / 1.264 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/1.287, allocations: 1.18 MB / 1.265 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001325/1.288, allocations: 390.6 kB / 1.265 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/1.289, allocations: 0.4931 MB / 1.266 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.289, allocations: 0 / 1.266 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.762/4.05, allocations: 35.41 MB / 1.3 GB, free: 250.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/17.57, allocations: 10.47 kB / 1.3 GB, free: 250.5 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