Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 209.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.353/1.353, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.945/2.945, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 68.14 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003523/0.2929, allocations: 2.197 MB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2947, allocations: 1.095 MB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.2949, allocations: 7.875 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.295, allocations: 31.66 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.2954, allocations: 75.3 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.2959, allocations: 196.5 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.2963, allocations: 294.8 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.2965, allocations: 48.84 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2966, allocations: 111.6 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.2969, allocations: 135.4 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.297, allocations: 16 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.2974, allocations: 303.6 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.2975, allocations: 55.7 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2976, allocations: 123.3 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.298, allocations: 330.6 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.298, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.298, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.2981, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001092/0.2991, allocations: 0.5593 MB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2992, allocations: 12.03 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.2992, allocations: 54.61 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.2994, allocations: 36.75 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.2998, allocations: 225.5 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2998, allocations: 24.28 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.2998, allocations: 12 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.3004, allocations: 232.6 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3004, allocations: 0 / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.3004, allocations: 11.94 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3004, allocations: 4 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/0.301, allocations: 195.8 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3021, allocations: 0.9063 MB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.3029, allocations: 233.1 kB / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.3032, allocations: 97.64 kB / 1.36 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.3032, allocations: 16.28 kB / 1.36 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3032, allocations: 30.56 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.3032, allocations: 0 / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.001067/0.3043, allocations: 337.7 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3043, allocations: 81.11 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.3046, allocations: 272.2 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3046, allocations: 25.7 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3047, allocations: 164.3 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3048, allocations: 55.53 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.3049, allocations: 41.7 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.305, allocations: 338.8 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.3053, allocations: 91.91 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.3056, allocations: 141.9 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.3062, allocations: 237.8 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3062, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007723/0.307, allocations: 301.2 kB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.307, allocations: 12.08 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.307, allocations: 3.938 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.307, allocations: 4 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.3073, allocations: 55.89 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3073, allocations: 8 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3075, allocations: 43.97 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3075, allocations: 12 kB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001232/0.3077, allocations: 146.2 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3078, allocations: 31.81 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007632/0.3085, allocations: 287.1 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3085, allocations: 0 / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3085, allocations: 0 / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3085, allocations: 4 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.3089, allocations: 264.5 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3089, allocations: 7.984 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.3091, allocations: 47.95 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3091, allocations: 4 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3092, allocations: 4 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3092, allocations: 4 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3092, allocations: 3.938 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.3099, allocations: 440.4 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.31, allocations: 35.73 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.31, allocations: 4 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.3103, allocations: 27.97 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.3103, allocations: 19.97 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3103, allocations: 7.984 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000172/0.3105, allocations: 187.1 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3105, allocations: 192 / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00033/0.3108, allocations: 63.86 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 20 * 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.001148/0.312, allocations: 0.9963 MB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006712/0.3126, allocations: 215.9 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3126, allocations: 4.312 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.313, allocations: 107.9 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.3135, allocations: 83.73 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.3174, allocations: 2.702 MB / 1.368 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3177, allocations: 0.7518 MB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.3178, allocations: 26.3 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.318, allocations: 91.41 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/0.318, allocations: 0 / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.3514, allocations: 6.799 MB / 1.375 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.61, allocations: 8.281 kB / 1.375 GB, free: 0.9102 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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: 16.639244429999962]