Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.00986/0.00986, allocations: 103.5 kB / 15.73 MB, free: 5.996 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.00221/0.00221, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 1.054 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8768/1.165, allocations: 237.6 MB / 1.439 GB, free: 9.297 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02138/1.186, allocations: 15.79 MB / 1.455 GB, free: 9.738 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/1.189, allocations: 63.62 kB / 1.455 GB, free: 9.676 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/1.192, allocations: 1.041 MB / 1.456 GB, free: 8.629 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008297/1.2, allocations: 2.985 MB / 1.459 GB, free: 5.633 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004604/1.205, allocations: 1.673 MB / 1.46 GB, free: 3.973 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004998/1.21, allocations: 3.441 MB / 1.464 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/1.212, allocations: 1.283 MB / 1.465 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/1.218, allocations: 2.527 MB / 1.467 GB, free: 12.69 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/1.22, allocations: 1.091 MB / 1.468 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003522/1.221, allocations: 116 kB / 1.469 GB, free: 11.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/1.226, allocations: 3.094 MB / 1.472 GB, free: 8.395 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005651/1.227, allocations: 478.5 kB / 1.472 GB, free: 7.926 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/1.228, allocations: 0.8046 MB / 1.473 GB, free: 7.117 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005038/1.233, allocations: 2.968 MB / 1.476 GB, free: 4.141 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.233, allocations: 0 / 1.476 GB, free: 4.141 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.723e-06/1.233, allocations: 0 / 1.476 GB, free: 4.141 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.746e-05/1.233, allocations: 0 / 1.476 GB, free: 4.141 MB / 1.154 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.00384/1.237, allocations: 2.005 MB / 1.478 GB, free: 2.082 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.237, allocations: 12.62 kB / 1.478 GB, free: 2.07 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/1.237, allocations: 156.2 kB / 1.478 GB, free: 1.91 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1.24, allocations: 0.4975 MB / 1.478 GB, free: 1.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/1.242, allocations: 1.177 MB / 1.479 GB, free: 180 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/1.242, allocations: 82 kB / 1.48 GB, free: 100 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/1.242, allocations: 96 kB / 1.48 GB, free: 4 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/1.245, allocations: 1.346 MB / 1.481 GB, free: 14.54 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.245, allocations: 3.938 kB / 1.481 GB, free: 14.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/1.245, allocations: 44 kB / 1.481 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/1.245, allocations: 45.98 kB / 1.481 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/1.247, allocations: 1.054 MB / 1.482 GB, free: 13.39 MB / 1.17 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.007764/1.255, allocations: 7.379 MB / 1.489 GB, free: 5.535 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.257, allocations: 0.5378 MB / 1.49 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/1.257, allocations: 261.2 kB / 1.49 GB, free: 4.734 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/1.258, allocations: 291.5 kB / 1.49 GB, free: 4.395 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.258, allocations: 34.84 kB / 1.49 GB, free: 4.352 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/1.258, allocations: 0 / 1.49 GB, free: 4.352 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.002464/1.26, allocations: 0.8455 MB / 1.491 GB, free: 3.5 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/1.26, allocations: 55.41 kB / 1.491 GB, free: 3.434 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/1.262, allocations: 1.395 MB / 1.493 GB, free: 2.027 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/1.263, allocations: 37.7 kB / 1.493 GB, free: 1.984 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/1.263, allocations: 0.6987 MB / 1.493 GB, free: 1.281 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/1.263, allocations: 118.5 kB / 1.493 GB, free: 1.164 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/1.263, allocations: 166.3 kB / 1.494 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.264, allocations: 334 kB / 1.494 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/1.264, allocations: 316.6 kB / 1.494 GB, free: 356 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.266, allocations: 0.6891 MB / 1.495 GB, free: 15.48 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/1.267, allocations: 0.9337 MB / 1.496 GB, free: 14.39 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.267, allocations: 7.938 kB / 1.496 GB, free: 14.38 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002532/1.27, allocations: 1.05 MB / 1.497 GB, free: 13.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.27, allocations: 12.19 kB / 1.497 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/1.27, allocations: 15.98 kB / 1.497 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/1.27, allocations: 16 kB / 1.497 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/1.271, allocations: 195.7 kB / 1.497 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/1.271, allocations: 27.92 kB / 1.497 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.272, allocations: 178.7 kB / 1.497 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/1.272, allocations: 48.98 kB / 1.497 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001248/1.274, allocations: 0.5604 MB / 1.498 GB, free: 12.27 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001116/1.275, allocations: 0.693 MB / 1.499 GB, free: 11.41 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001781/1.277, allocations: 0.9215 MB / 1.499 GB, free: 10.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.897e-06/1.277, allocations: 4 kB / 1.499 GB, free: 10.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002478/1.279, allocations: 1.046 MB / 1.5 GB, free: 9.266 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.279, allocations: 19.92 kB / 1.5 GB, free: 9.246 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.279, allocations: 15.98 kB / 1.501 GB, free: 9.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.279, allocations: 16 kB / 1.501 GB, free: 9.215 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/1.28, allocations: 204.1 kB / 1.501 GB, free: 9.016 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/1.28, allocations: 23.92 kB / 1.501 GB, free: 8.992 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.281, allocations: 131.4 kB / 1.501 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/1.281, allocations: 44.75 kB / 1.501 GB, free: 8.82 MB / 1.186 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.0002584/1.282, allocations: 236 kB / 1.501 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/1.282, allocations: 142.2 kB / 1.501 GB, free: 8.441 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.284, allocations: 0.637 MB / 1.502 GB, free: 7.789 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.284, allocations: 4 kB / 1.502 GB, free: 7.785 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.284, allocations: 0 / 1.502 GB, free: 7.785 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.284, allocations: 3.984 kB / 1.502 GB, free: 7.781 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/1.287, allocations: 1.888 MB / 1.504 GB, free: 5.785 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.287, allocations: 8.219 kB / 1.504 GB, free: 5.777 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/1.288, allocations: 103.7 kB / 1.504 GB, free: 5.676 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/1.288, allocations: 4 kB / 1.504 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/1.288, allocations: 15.98 kB / 1.504 GB, free: 5.656 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.288, allocations: 4 kB / 1.504 GB, free: 5.652 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.288, allocations: 7.938 kB / 1.504 GB, free: 5.645 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.289, allocations: 0.811 MB / 1.505 GB, free: 4.766 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/1.29, allocations: 303.1 kB / 1.505 GB, free: 4.449 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/1.29, allocations: 11.98 kB / 1.505 GB, free: 4.438 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009921/1.291, allocations: 67.92 kB / 1.505 GB, free: 4.371 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/1.291, allocations: 31.91 kB / 1.505 GB, free: 4.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/1.291, allocations: 23.98 kB / 1.505 GB, free: 4.316 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001551/1.293, allocations: 1.009 MB / 1.506 GB, free: 3.312 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.31e-07/1.293, allocations: 7.875 kB / 1.506 GB, free: 3.305 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001792/1.295, allocations: 0.5657 MB / 1.507 GB, free: 2.738 MB / 1.186 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.002335/1.297, allocations: 1.511 MB / 1.508 GB, free: 1.16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002833/1.3, allocations: 1.126 MB / 1.509 GB, free: 40 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.3, allocations: 0 / 1.509 GB, free: 40 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/1.301, allocations: 256.2 kB / 1.509 GB, free: 15.79 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.304, allocations: 0.7444 MB / 1.51 GB, free: 15.05 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.321, allocations: 9.798 MB / 1.52 GB, free: 4.707 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/1.321, allocations: 1.178 MB / 1.521 GB, free: 3.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001382/1.323, allocations: 383.8 kB / 1.521 GB, free: 3.121 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/1.323, allocations: 499.3 kB / 1.522 GB, free: 2.633 MB / 1.201 GB Notification: Performance of SimCode: time 6.52e-07/1.323, allocations: 0 / 1.522 GB, free: 2.633 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06151/1.385, allocations: 36.22 MB / 1.557 GB, free: 14.86 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.863/11.25, allocations: 9.234 kB / 1.557 GB, free: 14.86 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches