Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.005041/0.005041, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001424/0.001424, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.396/2.396, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 75.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6088, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001424/0.6103, allocations: 0.5901 MB / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.6124, allocations: 1.726 MB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.6124, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.6124, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.495e-05/0.6125, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.6132, allocations: 306.1 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.6134, allocations: 139.8 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.034e-05/0.6134, allocations: 4 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.6135, allocations: 47.95 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.6136, allocations: 47.94 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.6136, allocations: 4 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.6141, allocations: 343.5 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.6142, allocations: 39.89 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.6143, allocations: 51.72 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.6146, allocations: 270.9 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6146, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6146, allocations: 4 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.6146, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005942/0.6152, allocations: 446.8 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.6153, allocations: 8.031 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.6153, allocations: 46.69 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.6153, allocations: 16.88 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.6155, allocations: 172.3 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.6155, allocations: 8.375 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.6155, allocations: 15.94 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.6158, allocations: 222.6 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6158, allocations: 3.984 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.6159, allocations: 4 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.6159, allocations: 8 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.6161, allocations: 183.7 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.6164, allocations: 279.1 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.6171, allocations: 415.7 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.6174, allocations: 181.2 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.6177, allocations: 199.2 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6177, allocations: 46.48 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.412e-06/0.6177, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.0006091/0.6183, allocations: 374.5 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.6184, allocations: 199.9 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.6185, allocations: 93.8 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.6185, allocations: 29.7 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.6185, allocations: 80.7 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/0.6186, allocations: 115 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.6187, allocations: 53.69 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6188, allocations: 327 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.619, allocations: 83.94 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.6192, allocations: 137.1 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.6195, allocations: 257.2 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.6195, allocations: 0 / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004236/0.6199, allocations: 301.3 kB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.62, allocations: 8 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.62, allocations: 0 / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.62, allocations: 4 kB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.6202, allocations: 51.91 kB / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.6202, allocations: 7.984 kB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.6203, allocations: 19.88 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.6203, allocations: 8 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001094/0.6205, allocations: 149.6 kB / 1.228 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.6205, allocations: 19.91 kB / 1.228 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.6211, allocations: 357.4 kB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.6211, allocations: 4 kB / 1.228 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6211, allocations: 0 / 1.228 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6211, allocations: 7.984 kB / 1.228 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.6213, allocations: 257.4 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6213, allocations: 0 / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.6216, allocations: 55.91 kB / 1.229 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6216, allocations: 0 / 1.229 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.6216, allocations: 15.98 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6216, allocations: 4 kB / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6216, allocations: 0 / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.622, allocations: 349.5 kB / 1.229 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.742e-05/0.6222, allocations: 117 kB / 1.229 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.6222, allocations: 11.94 kB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.6223, allocations: 4 kB / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.6223, allocations: 27.95 kB / 1.229 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6223, allocations: 15.94 kB / 1.229 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.393e-05/0.6224, allocations: 79.28 kB / 1.229 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.6224, allocations: 0 / 1.229 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003231/0.6227, allocations: 99.89 kB / 1.229 GB, free: 8.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.001027/0.6238, allocations: 1.001 MB / 1.23 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.6241, allocations: 243.7 kB / 1.231 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6241, allocations: 0 / 1.231 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.6243, allocations: 139.8 kB / 1.231 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.6245, allocations: 12 kB / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.6252, allocations: 437.3 kB / 1.231 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6255, allocations: 0.7124 MB / 1.232 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.6257, allocations: 109.4 kB / 1.232 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.6258, allocations: 47.41 kB / 1.232 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.6258, allocations: 0 / 1.232 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.284/1.909, allocations: 4.118 MB / 1.236 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/16.72, allocations: 22.09 kB / 1.236 GB, free: 1.25 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches