Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 105 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.89 kB / 1.134 GB, free: 11 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003846/1.041, allocations: 1.625 MB / 1.306 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001796/1.043, allocations: 0.9164 MB / 1.306 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.851e-05/1.043, allocations: 3.938 kB / 1.306 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/1.043, allocations: 5.297 kB / 1.306 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/1.043, allocations: 27.3 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/1.044, allocations: 140.8 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/1.044, allocations: 76.2 kB / 1.307 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/1.044, allocations: 14.86 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/1.044, allocations: 35.44 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/1.044, allocations: 44.08 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/1.044, allocations: 4.344 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/1.045, allocations: 279.4 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/1.045, allocations: 12.59 kB / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/1.045, allocations: 31.34 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/1.045, allocations: 152.7 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.045, allocations: 3.938 kB / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.045, allocations: 0 / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.045, allocations: 0 / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007021/1.046, allocations: 413.1 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.046, allocations: 10.89 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.56e-05/1.046, allocations: 35.45 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/1.046, allocations: 13.03 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/1.046, allocations: 186.4 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.046, allocations: 2.297 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/1.046, allocations: 3.25 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/1.047, allocations: 70.98 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.047, allocations: 0 / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/1.047, allocations: 1.641 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.047, allocations: 1 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/1.047, allocations: 41.33 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/1.047, allocations: 302.2 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/1.048, allocations: 60.91 kB / 1.308 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/1.048, allocations: 26.58 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/1.048, allocations: 0 / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.048, allocations: 36.75 kB / 1.308 GB, free: 12.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/1.048, allocations: 0 / 1.308 GB, free: 12.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0004033/1.048, allocations: 108 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/1.048, allocations: 52.5 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/1.048, allocations: 134 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/1.048, allocations: 29.7 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/1.048, allocations: 97.98 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/1.048, allocations: 10.5 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/1.048, allocations: 20.7 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.049, allocations: 327.1 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/1.049, allocations: 20.59 kB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/1.049, allocations: 25.62 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/1.049, allocations: 51.7 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.049, allocations: 3.938 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002309/1.049, allocations: 92.7 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.049, allocations: 9.453 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.049, allocations: 64 / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.049, allocations: 9.766 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.049, allocations: 14.2 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.049, allocations: 0.6562 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/1.049, allocations: 12.61 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.049, allocations: 2.812 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.000112/1.049, allocations: 120.8 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/1.05, allocations: 12.44 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/1.05, allocations: 94.56 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.05, allocations: 5.344 kB / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.05, allocations: 0 / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.05, allocations: 2.203 kB / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/1.05, allocations: 183.6 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/1.05, allocations: 0.7031 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/1.05, allocations: 12.62 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.05, allocations: 6.203 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/1.05, allocations: 0 / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.05, allocations: 1.953 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.05, allocations: 0 / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/1.05, allocations: 188.6 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/1.051, allocations: 83.92 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/1.051, allocations: 5.219 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/1.051, allocations: 8.156 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/1.051, allocations: 8.406 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/1.051, allocations: 1.938 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.721e-05/1.051, allocations: 103.4 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.051, allocations: 1.062 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002877/1.051, allocations: 27.02 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0007467/1.052, allocations: 0.7424 MB / 1.311 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002269/1.052, allocations: 57.7 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.052, allocations: 0 / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/1.052, allocations: 30.28 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/1.052, allocations: 27.17 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/1.054, allocations: 1.457 MB / 1.312 GB, free: 8.906 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/1.055, allocations: 0.6891 MB / 1.313 GB, free: 8.211 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.592e-05/1.055, allocations: 8.391 kB / 1.313 GB, free: 8.207 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/1.055, allocations: 21.7 kB / 1.313 GB, free: 8.191 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.055, allocations: 1.531 kB / 1.313 GB, free: 8.191 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/1.083, allocations: 2.326 MB / 1.315 GB, free: 7.336 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/9.046, allocations: 7.75 kB / 1.315 GB, free: 7.332 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.483059871010482]