Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_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.00725/0.00725, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.00172/0.00172, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 67.84 kB / 1.018 GB, free: 9.973 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7165, allocations: 151.6 MB / 1.166 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00168/0.7183, allocations: 0.5309 MB / 1.167 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.7185, allocations: 45.77 kB / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.7185, allocations: 3.938 kB / 1.167 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.7186, allocations: 0 / 1.167 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.7187, allocations: 4 kB / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.581e-05/0.7188, allocations: 3.938 kB / 1.167 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.7189, allocations: 15.98 kB / 1.167 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.7189, allocations: 4 kB / 1.167 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.252e-05/0.719, allocations: 4 kB / 1.167 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.7191, allocations: 11.92 kB / 1.167 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.7191, allocations: 0 / 1.167 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.7191, allocations: 0 / 1.167 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.7191, allocations: 11.98 kB / 1.167 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.7192, allocations: 7.922 kB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.199e-05/0.7193, allocations: 11.94 kB / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7193, allocations: 0 / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7193, allocations: 0 / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7193, allocations: 0 / 1.167 GB, free: 3.207 MB / 0.8887 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.0004328/0.7197, allocations: 341.7 kB / 1.167 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7198, allocations: 12.92 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.7198, allocations: 30.75 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.7198, allocations: 4.875 kB / 1.167 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.72, allocations: 172.3 kB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.72, allocations: 4.359 kB / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.7201, allocations: 4.375 kB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.7201, allocations: 34.27 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.7202, allocations: 11.88 kB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.7202, allocations: 0 / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7202, allocations: 0 / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.7202, allocations: 7.922 kB / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.7204, allocations: 153.7 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.687e-05/0.7204, allocations: 18.61 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.7204, allocations: 8.922 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.7205, allocations: 0 / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.7205, allocations: 38.55 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.7205, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.7206, allocations: 49.56 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.7207, allocations: 51.41 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.7208, allocations: 113.8 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.7208, allocations: 25.7 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.7208, allocations: 80.14 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.7209, allocations: 12.02 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.7209, allocations: 17.72 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.721, allocations: 314.8 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.721, allocations: 4 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.721, allocations: 17.72 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.7211, allocations: 25.7 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7211, allocations: 4 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.373e-05/0.7212, allocations: 45.69 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.7212, allocations: 7.938 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7212, allocations: 0 / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.7212, allocations: 4 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.7213, allocations: 7.938 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.7213, allocations: 0 / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.7213, allocations: 3.984 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.7214, allocations: 0 / 1.168 GB, free: 1.371 MB / 0.8887 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 6.701e-05/0.7214, allocations: 113.9 kB / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.7214, allocations: 7.875 kB / 1.168 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.847e-05/0.7216, allocations: 53.16 kB / 1.168 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7216, allocations: 0 / 1.168 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7216, allocations: 256 / 1.168 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.7216, allocations: 3.984 kB / 1.168 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.7217, allocations: 161.7 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7217, allocations: 0 / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.7217, allocations: 0 / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.7218, allocations: 11.97 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.7218, allocations: 3.938 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7218, allocations: 0 / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7218, allocations: 3.938 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.7219, allocations: 77.02 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.722, allocations: 81.14 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.722, allocations: 3.938 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.722, allocations: 8.094 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.722, allocations: 7.984 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.722, allocations: 0 / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.7221, allocations: 87.28 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7221, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001874/0.7223, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 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.0003396/0.7226, allocations: 0.624 MB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of simCode: created initialization part: time 9.244e-05/0.7227, allocations: 15.98 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7227, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.7228, allocations: 7.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.7229, allocations: 10.64 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.7238, allocations: 1.155 MB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.724, allocations: 0.6807 MB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.724, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.7241, allocations: 15.44 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.7241, allocations: 0 / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.7422, allocations: 1.187 MB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.679, allocations: 3.938 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c Variables in the result:a[1],a[2],a[3],b,c,der(c),efficient,time