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.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.001459/0.001459, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001715/0.001715, allocations: 213.2 kB / 22.24 MB, free: 5.242 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 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 2.909/2.909, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.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: 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.001904/0.001904, allocations: 68.25 kB / 1.186 GB, free: 14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3074, allocations: 181.9 MB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00269/0.3101, allocations: 1.622 MB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3117, allocations: 0.9242 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.3117, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.3117, allocations: 7.875 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3119, allocations: 27.78 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.3123, allocations: 162.6 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3124, allocations: 79.66 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.3125, allocations: 19.84 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.3126, allocations: 35.92 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.3127, allocations: 39.77 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3127, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.3131, allocations: 275.6 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3131, allocations: 7.938 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.3132, allocations: 31.86 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3134, allocations: 155.4 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3134, allocations: 3.984 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3134, allocations: 0 / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3134, allocations: 0 / 1.367 GB, free: 10.86 MB / 1.061 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.0005234/0.3139, allocations: 341.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.314, allocations: 8.031 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.314, allocations: 34.75 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.3143, allocations: 32.86 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.3145, allocations: 138.4 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3145, allocations: 8.062 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3145, allocations: 8 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3147, allocations: 61.66 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.3147, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3147, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.3147, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3148, allocations: 47.95 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.3152, allocations: 267.9 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3154, allocations: 50.5 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.3155, allocations: 28.97 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3155, allocations: 0 / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3155, allocations: 38.5 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.3155, allocations: 4 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0003385/0.3158, allocations: 105.6 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3159, allocations: 55.34 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.316, allocations: 135.9 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.316, allocations: 25.7 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.3161, allocations: 104.1 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3161, allocations: 11.84 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.3161, allocations: 25.7 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3163, allocations: 322.8 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.3163, allocations: 19.98 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.3164, allocations: 27.97 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3166, allocations: 53.22 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3166, allocations: 0 / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002093/0.3168, allocations: 105.4 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3168, allocations: 4 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.3168, allocations: 4 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3168, allocations: 0 / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3169, allocations: 15.98 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3169, allocations: 0 / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.317, allocations: 11.92 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.317, allocations: 0 / 1.369 GB, free: 8.613 MB / 1.061 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.543e-05/0.317, allocations: 114.9 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.3171, allocations: 7.953 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3173, allocations: 110 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3173, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3173, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3173, allocations: 3.938 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.3175, allocations: 148.7 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3175, allocations: 3.984 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.3176, allocations: 11.98 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3176, allocations: 4 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3176, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3176, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3176, allocations: 4 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.3179, allocations: 191.4 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.3179, allocations: 7.891 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3179, allocations: 8.125 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.318, allocations: 4 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.318, allocations: 11.98 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.318, allocations: 3.938 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.785e-05/0.3181, allocations: 109.5 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3181, allocations: 0 / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002779/0.3184, allocations: 31.89 kB / 1.369 GB, free: 7.773 MB / 1.061 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.0006639/0.3191, allocations: 0.7203 MB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3193, allocations: 59.89 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3193, allocations: 0 / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.3194, allocations: 23.98 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3196, allocations: 19.88 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3214, allocations: 1.473 MB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7e-05/0.3214, allocations: 75.33 kB / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.3215, allocations: 11.98 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.3216, allocations: 23.44 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3216, allocations: 0 / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3493, allocations: 2.93 MB / 1.375 GB, free: 2.465 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.38, allocations: 20.34 kB / 1.375 GB, free: 2.453 MB / 1.061 GB " [Timeout remaining time 290] (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/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: 16.364137312863022]