Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_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.001237/0.001237, 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.00142/0.00142, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.178/2.178, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5096, allocations: 140.4 MB / 0.949 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001337/0.5109, allocations: 0.5885 MB / 0.9496 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001242/0.5111, allocations: 37.81 kB / 0.9497 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.5111, allocations: 1.312 kB / 0.9497 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.5111, allocations: 0 / 0.9497 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.5113, allocations: 5.438 kB / 0.9497 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.465e-05/0.5113, allocations: 9.172 kB / 0.9497 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.669e-05/0.5114, allocations: 9.484 kB / 0.9497 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.5114, allocations: 1.375 kB / 0.9497 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.5114, allocations: 6.75 kB / 0.9497 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.5115, allocations: 12.05 kB / 0.9497 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.5115, allocations: 5.375 kB / 0.9497 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-06/0.5115, allocations: 0 / 0.9497 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.5116, allocations: 6.688 kB / 0.9497 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.5116, allocations: 5.312 kB / 0.9497 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.154e-05/0.5116, allocations: 20.09 kB / 0.9497 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5116, allocations: 3.938 kB / 0.9497 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.41e-07/0.5116, allocations: 0 / 0.9497 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.5117, allocations: 0 / 0.9497 GB, free: 8.512 MB / 0.7169 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.0002719/0.5119, allocations: 324.7 kB / 0.95 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.512, allocations: 13.62 kB / 0.9501 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.236e-05/0.512, allocations: 36.06 kB / 0.9501 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.856e-05/0.512, allocations: 6.219 kB / 0.9501 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5121, allocations: 172.5 kB / 0.9503 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.5121, allocations: 1.75 kB / 0.9503 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.5122, allocations: 384 / 0.9503 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.973e-05/0.5122, allocations: 34.38 kB / 0.9503 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.5122, allocations: 7.922 kB / 0.9503 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-06/0.5122, allocations: 0 / 0.9503 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5122, allocations: 4 kB / 0.9503 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.5123, allocations: 10.69 kB / 0.9503 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.33e-05/0.5123, allocations: 153.8 kB / 0.9505 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.552e-05/0.5124, allocations: 18.7 kB / 0.9505 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.5124, allocations: 11.59 kB / 0.9505 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-06/0.5124, allocations: 0 / 0.9505 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.337e-06/0.5124, allocations: 35.94 kB / 0.9505 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.5124, allocations: 0 / 0.9505 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.755e-05/0.5125, allocations: 51.19 kB / 0.9506 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.504e-05/0.5126, allocations: 52.78 kB / 0.9506 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.5126, allocations: 108.8 kB / 0.9507 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.5126, allocations: 25.7 kB / 0.9508 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.5126, allocations: 85.52 kB / 0.9508 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.5127, allocations: 7.891 kB / 0.9508 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.5127, allocations: 12.47 kB / 0.9509 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.5127, allocations: 320.3 kB / 0.9512 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.5127, allocations: 2.75 kB / 0.9512 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.5128, allocations: 17.83 kB / 0.9512 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.5128, allocations: 20.53 kB / 0.9512 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5128, allocations: 1.375 kB / 0.9512 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.353e-05/0.5129, allocations: 50.16 kB / 0.9513 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.5129, allocations: 8.062 kB / 0.9513 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5129, allocations: 1.375 kB / 0.9513 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5129, allocations: 3.984 kB / 0.9513 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.5129, allocations: 4.125 kB / 0.9513 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.513, allocations: 3.938 kB / 0.9513 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.513, allocations: 5.312 kB / 0.9513 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.513, allocations: 1.375 kB / 0.9513 GB, free: 6.801 MB / 0.7169 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 3.631e-05/0.513, allocations: 112.5 kB / 0.9514 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.513, allocations: 13.25 kB / 0.9514 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.5131, allocations: 54.77 kB / 0.9515 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5131, allocations: 1.375 kB / 0.9515 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5131, allocations: 0 / 0.9515 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.5131, allocations: 1.375 kB / 0.9515 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.288e-05/0.5132, allocations: 153.8 kB / 0.9516 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5132, allocations: 1.375 kB / 0.9516 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.5133, allocations: 2.75 kB / 0.9516 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5133, allocations: 3.938 kB / 0.9516 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.5133, allocations: 1.375 kB / 0.9516 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5133, allocations: 7.969 kB / 0.9516 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5133, allocations: 4.234 kB / 0.9516 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.736e-05/0.5134, allocations: 75 kB / 0.9517 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.5134, allocations: 87.75 kB / 0.9518 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.5134, allocations: 7.938 kB / 0.9518 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.5135, allocations: 1.375 kB / 0.9518 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.5135, allocations: 1.375 kB / 0.9518 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.5135, allocations: 4.094 kB / 0.9518 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.5135, allocations: 91.52 kB / 0.9519 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5135, allocations: 0 / 0.9519 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001653/0.5137, allocations: 2.75 kB / 0.9519 GB, free: 6.137 MB / 0.7169 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.0002179/0.5139, allocations: 0.6173 MB / 0.9525 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.5e-05/0.514, allocations: 9.625 kB / 0.9525 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.514, allocations: 0 / 0.9525 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.514, allocations: 13.42 kB / 0.9525 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.5141, allocations: 5.375 kB / 0.9525 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.5147, allocations: 1.151 MB / 0.9536 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.169e-05/0.5148, allocations: 0.683 MB / 0.9543 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.5148, allocations: 1.375 kB / 0.9543 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.5148, allocations: 8.781 kB / 0.9543 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.5148, allocations: 0 / 0.9543 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8957/1.411, allocations: 1.051 MB / 0.9553 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/1.411, allocations: 197.1 kB / 0.9555 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/3.147, allocations: 0 / 0.9555 GB, free: 2.824 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches