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.001623/0.001623, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.001738, allocations: 195.7 kB / 19.36 MB, free: 3.75 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.543/1.543, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.582/2.582, allocations: 437.1 MB / 0.7171 GB, free: 4.129 MB / 0.5762 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.001972/0.001972, allocations: 75.89 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9505/0.9525, allocations: 151.6 MB / 1.175 GB, free: 17.51 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003141/0.9557, allocations: 1.616 MB / 1.176 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.9572, allocations: 0.9061 MB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.9573, allocations: 1.156 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.9573, allocations: 9.484 kB / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.9576, allocations: 27.02 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.958, allocations: 138.1 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.9581, allocations: 79.5 kB / 1.177 GB, free: 15.63 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.9583, allocations: 21.02 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.9584, allocations: 27.73 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.9585, allocations: 39.69 kB / 1.178 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.9586, allocations: 4.125 kB / 1.178 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.9591, allocations: 283.9 kB / 1.178 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.9591, allocations: 21.52 kB / 1.178 GB, free: 15.51 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.9592, allocations: 30.89 kB / 1.178 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.9595, allocations: 147 kB / 1.178 GB, free: 15.44 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.9596, allocations: 1.844 kB / 1.178 GB, free: 15.44 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.946e-06/0.9596, allocations: 4 kB / 1.178 GB, free: 15.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.9596, allocations: 0 / 1.178 GB, free: 15.43 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.0006447/0.9602, allocations: 412.5 kB / 1.178 GB, free: 15.03 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.9603, allocations: 10.47 kB / 1.178 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.9604, allocations: 33.77 kB / 1.178 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.9605, allocations: 10.44 kB / 1.178 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.9608, allocations: 194.3 kB / 1.179 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.9608, allocations: 1.812 kB / 1.179 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.9608, allocations: 1.719 kB / 1.179 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.9611, allocations: 73.17 kB / 1.179 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.9611, allocations: 7.984 kB / 1.179 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.9611, allocations: 4 kB / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.9611, allocations: 2.281 kB / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.9613, allocations: 40.89 kB / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.9618, allocations: 302.4 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.962, allocations: 54.11 kB / 1.179 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.9621, allocations: 35.92 kB / 1.179 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.9621, allocations: 0 / 1.179 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.9622, allocations: 36.66 kB / 1.179 GB, free: 14.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.9622, allocations: 0 / 1.179 GB, free: 14.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0004254/0.9626, allocations: 103.8 kB / 1.179 GB, free: 14.26 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.9626, allocations: 56.72 kB / 1.179 GB, free: 14.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.9628, allocations: 126.4 kB / 1.179 GB, free: 14.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.9628, allocations: 25.7 kB / 1.179 GB, free: 14.06 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.9629, allocations: 102.7 kB / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.9629, allocations: 14.28 kB / 1.18 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.9629, allocations: 21.91 kB / 1.18 GB, free: 13.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.963, allocations: 322.5 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.9631, allocations: 25.14 kB / 1.18 GB, free: 13.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.9632, allocations: 20.98 kB / 1.18 GB, free: 13.6 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.9634, allocations: 59.56 kB / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9634, allocations: 1.312 kB / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002306/0.9636, allocations: 87.17 kB / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.9637, allocations: 5.594 kB / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9637, allocations: 0 / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.9637, allocations: 1.875 kB / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.9638, allocations: 18.27 kB / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.9638, allocations: 0 / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.9639, allocations: 16.97 kB / 1.18 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.9639, allocations: 2.672 kB / 1.18 GB, free: 13.51 MB / 0.92 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 8.665e-05/0.964, allocations: 116.9 kB / 1.18 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.9641, allocations: 8.531 kB / 1.18 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.9644, allocations: 102.8 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9644, allocations: 1.125 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9644, allocations: 0.6094 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.9644, allocations: 5.625 kB / 1.18 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.9646, allocations: 182.6 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9646, allocations: 1.375 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.9647, allocations: 17.53 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.9647, allocations: 1.375 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.9647, allocations: 0.6562 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.9648, allocations: 5.281 kB / 1.181 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9648, allocations: 4.641 kB / 1.181 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.965, allocations: 191.3 kB / 1.181 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.9651, allocations: 84.53 kB / 1.181 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.9651, allocations: 0.6094 kB / 1.181 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.9652, allocations: 5.719 kB / 1.181 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.9653, allocations: 8.516 kB / 1.181 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.9653, allocations: 1.609 kB / 1.181 GB, free: 12.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.261e-05/0.9654, allocations: 100 kB / 1.181 GB, free: 12.76 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9654, allocations: 0 / 1.181 GB, free: 12.76 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002678/0.9656, allocations: 31.48 kB / 1.181 GB, free: 12.75 MB / 0.92 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.0006742/0.9663, allocations: 0.7303 MB / 1.182 GB, free: 12.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.9666, allocations: 64.36 kB / 1.182 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9666, allocations: 0 / 1.182 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.9667, allocations: 31.09 kB / 1.182 GB, free: 12.04 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.967, allocations: 7.078 kB / 1.182 GB, free: 12.04 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.9687, allocations: 1.47 MB / 1.183 GB, free: 10.76 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.9689, allocations: 0.6985 MB / 1.184 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.148e-05/0.969, allocations: 7.625 kB / 1.184 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.969, allocations: 21.84 kB / 1.184 GB, free: 10.04 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.9691, allocations: 0 / 1.184 GB, free: 10.04 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.9981, allocations: 2.319 MB / 1.186 GB, free: 9.613 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/9.107, allocations: 7.953 kB / 1.186 GB, free: 9.605 MB / 0.92 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.079301262972876]