Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001576/0.001576, allocations: 105.9 kB / 16.45 MB, free: 6.504 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.001495/0.001495, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.89 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9748/0.9768, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003486/0.9802, allocations: 1.628 MB / 1.215 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.982, allocations: 0.9187 MB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.9821, allocations: 1.062 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.9821, allocations: 7.875 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.9824, allocations: 28.16 kB / 1.215 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.9828, allocations: 135.6 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.983, allocations: 74.44 kB / 1.216 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.9831, allocations: 14.42 kB / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.9832, allocations: 37.56 kB / 1.216 GB, free: 1.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.9834, allocations: 41.03 kB / 1.216 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.9834, allocations: 3.562 kB / 1.216 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.984, allocations: 285.4 kB / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.984, allocations: 10.19 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.984, allocations: 32.06 kB / 1.216 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.9844, allocations: 157.7 kB / 1.216 GB, free: 1.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.9844, allocations: 1 kB / 1.216 GB, free: 1.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9844, allocations: 0 / 1.216 GB, free: 1.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.9844, allocations: 0 / 1.216 GB, free: 1.348 MB / 0.92 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.0008152/0.9852, allocations: 411.3 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.9853, allocations: 9.312 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.9854, allocations: 39.81 kB / 1.217 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.9855, allocations: 16.19 kB / 1.217 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.9858, allocations: 176 kB / 1.217 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.9858, allocations: 9.406 kB / 1.217 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.9858, allocations: 2.625 kB / 1.217 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.986, allocations: 70.97 kB / 1.217 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.986, allocations: 0 / 1.217 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.9861, allocations: 0 / 1.217 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9861, allocations: 1.094 kB / 1.217 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.9862, allocations: 40.59 kB / 1.217 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.9868, allocations: 316 kB / 1.217 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.9869, allocations: 46.31 kB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.987, allocations: 26.5 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.9871, allocations: 0 / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.9871, allocations: 43.77 kB / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.9871, allocations: 0 / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0004032/0.9875, allocations: 110.2 kB / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.9875, allocations: 56.41 kB / 1.218 GB, free: 24 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.9877, allocations: 129.1 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.9877, allocations: 30.86 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.9878, allocations: 94.38 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.9878, allocations: 10.69 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.9879, allocations: 21.98 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.988, allocations: 324.7 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.9881, allocations: 21.05 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.9882, allocations: 24.92 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.9884, allocations: 55.89 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9884, allocations: 0 / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002299/0.9886, allocations: 93.3 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9886, allocations: 5.812 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.9886, allocations: 0 / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.9886, allocations: 0.7812 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.9887, allocations: 14.89 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9888, allocations: 0 / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.9888, allocations: 15.77 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.9888, allocations: 5.141 kB / 1.218 GB, free: 15.29 MB / 0.9356 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 9.951e-05/0.9889, allocations: 116.8 kB / 1.218 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.989, allocations: 11.73 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.9893, allocations: 104.5 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9893, allocations: 1.125 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9893, allocations: 0.5 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9893, allocations: 0 / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.9895, allocations: 183.1 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9895, allocations: 1.062 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.9896, allocations: 18.2 kB / 1.219 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9896, allocations: 8.969 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.9896, allocations: 0 / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9896, allocations: 1.062 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9896, allocations: 0 / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.9899, allocations: 193.1 kB / 1.219 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.99, allocations: 83.5 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.99, allocations: 5.094 kB / 1.219 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.9901, allocations: 10.27 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.9901, allocations: 6.312 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.9901, allocations: 1.625 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.9902, allocations: 104.3 kB / 1.219 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9902, allocations: 1.125 kB / 1.219 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002519/0.9905, allocations: 22.78 kB / 1.219 GB, free: 14.48 MB / 0.9356 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.0008098/0.9913, allocations: 0.7405 MB / 1.22 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.9915, allocations: 51.64 kB / 1.22 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9915, allocations: 1.156 kB / 1.22 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.9916, allocations: 32.77 kB / 1.22 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.9919, allocations: 11.75 kB / 1.22 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.9939, allocations: 1.463 MB / 1.221 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.9943, allocations: 0.6937 MB / 1.222 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.9943, allocations: 7.125 kB / 1.222 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.9944, allocations: 22.77 kB / 1.222 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9944, allocations: 0 / 1.222 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/1.02, allocations: 2.327 MB / 1.224 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/9.056, allocations: 26.83 kB / 1.224 GB, free: 10.44 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.260833933018148]