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.0008343/0.0008343, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007706/0.0007706, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.8788/0.8788, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.73/1.73, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.864e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002288/0.002306, allocations: 2.06 MB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.003458, allocations: 1.017 MB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.003554, allocations: 7.938 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.0036, allocations: 27.61 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.003874, allocations: 83.22 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.004179, allocations: 199.4 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.004419, allocations: 298.7 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.004564, allocations: 44.89 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.004695, allocations: 159.6 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.004851, allocations: 107.7 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.00488, allocations: 24 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.005145, allocations: 275.6 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.00518, allocations: 55.75 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.005237, allocations: 71.77 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.005593, allocations: 366.8 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005596, allocations: 4 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005597, allocations: 0 / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005601, allocations: 0 / 1.004 GB, free: 8.672 MB / 0.9636 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.0006765/0.006278, allocations: 0.5592 MB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.00632, allocations: 12.75 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.006357, allocations: 46.73 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.006478, allocations: 36.75 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.006729, allocations: 224.7 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.006744, allocations: 16.66 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.006766, allocations: 12.38 kB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.007077, allocations: 244.5 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.007085, allocations: 0 / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.007099, allocations: 4 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.007105, allocations: 4 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.007451, allocations: 199.8 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.008238, allocations: 0.8595 MB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.008668, allocations: 241.1 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.00884, allocations: 101.6 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.008861, allocations: 4 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.008877, allocations: 30.56 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.008879, allocations: 4 kB / 1.007 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0006296/0.009508, allocations: 341.5 kB / 1.007 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.009548, allocations: 81.09 kB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.009748, allocations: 272.1 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.009766, allocations: 37.64 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.009842, allocations: 156.4 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.009869, allocations: 55.48 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.009918, allocations: 41.7 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.009997, allocations: 338.8 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.01016, allocations: 87.92 kB / 1.008 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.01035, allocations: 151.7 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.01069, allocations: 237.7 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.0107, allocations: 4 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004332/0.01113, allocations: 293.1 kB / 1.009 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01115, allocations: 8 kB / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01115, allocations: 0 / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01117, allocations: 11.92 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01131, allocations: 64.11 kB / 1.009 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01131, allocations: 0 / 1.009 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.01142, allocations: 43.84 kB / 1.009 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01143, allocations: 4 kB / 1.009 GB, free: 3.625 MB / 0.9636 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 7.978e-05/0.01151, allocations: 133.8 kB / 1.009 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.01157, allocations: 31.75 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/0.012, allocations: 291.9 kB / 1.009 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.012, allocations: 4.219 kB / 1.009 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01201, allocations: 4 kB / 1.009 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01201, allocations: 4 kB / 1.009 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.01224, allocations: 244.4 kB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01224, allocations: 3.984 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.01236, allocations: 55.89 kB / 1.01 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01236, allocations: 0 / 1.01 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01237, allocations: 8 kB / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01237, allocations: 0 / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01237, allocations: 0 / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.0128, allocations: 440.7 kB / 1.01 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.01283, allocations: 31.73 kB / 1.01 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.01285, allocations: 4 kB / 1.01 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01297, allocations: 35.91 kB / 1.01 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.01303, allocations: 15.97 kB / 1.01 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.01303, allocations: 7.984 kB / 1.01 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001067/0.01314, allocations: 191.1 kB / 1.01 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01314, allocations: 0 / 1.01 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002209/0.01336, allocations: 59.88 kB / 1.011 GB, free: 2.016 MB / 0.9636 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.0006965/0.01406, allocations: 0.9848 MB / 1.011 GB, free: 1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.01446, allocations: 225.8 kB / 1.012 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01446, allocations: 0 / 1.012 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.01465, allocations: 103.9 kB / 1.012 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.015, allocations: 81.62 kB / 1.012 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.01742, allocations: 2.71 MB / 1.015 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.499e-05/0.0175, allocations: 146.8 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.801e-05/0.01759, allocations: 38.25 kB / 1.015 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.01768, allocations: 88.47 kB / 1.015 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of SimCode: time 4.31e-07/0.01769, allocations: 0 / 1.015 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.04645, allocations: 7.672 MB / 1.022 GB, free: 6.051 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.226, allocations: 12.06 kB / 1.022 GB, free: 6.047 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.328056062571704]