Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007847/0.0007847, 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.0007861/0.0007861, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8874/0.8874, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.772e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002135/0.002153, allocations: 2.063 MB / 0.9526 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.003382, allocations: 1.024 MB / 0.9536 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.003478, allocations: 7.938 kB / 0.9536 GB, free: 324 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.003785, allocations: 23.67 kB / 0.9536 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.004067, allocations: 83.22 kB / 0.9537 GB, free: 216 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.00436, allocations: 206.6 kB / 0.9539 GB, free: 12 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.004628, allocations: 302.6 kB / 0.9542 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.004867, allocations: 44.89 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.005, allocations: 147.7 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.005156, allocations: 111.7 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.005183, allocations: 24 kB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.005445, allocations: 275.6 kB / 0.9547 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.005479, allocations: 51.75 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.00554, allocations: 75.77 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.00585, allocations: 370.8 kB / 0.9552 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005852, allocations: 0 / 0.9552 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005852, allocations: 0 / 0.9552 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.005857, allocations: 0 / 0.9552 GB, free: 14.63 MB / 0.9167 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.0007101/0.006567, allocations: 0.5553 MB / 0.9557 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.006614, allocations: 15.97 kB / 0.9558 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.006657, allocations: 50.73 kB / 0.9558 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.006793, allocations: 44.64 kB / 0.9559 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.007068, allocations: 224.7 kB / 0.9561 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.007083, allocations: 12.66 kB / 0.9561 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.007101, allocations: 12.38 kB / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.007431, allocations: 229.2 kB / 0.9563 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.007442, allocations: 4.172 kB / 0.9563 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.007458, allocations: 8.125 kB / 0.9563 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.007465, allocations: 4 kB / 0.9563 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.007819, allocations: 203.8 kB / 0.9565 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.008543, allocations: 0.8635 MB / 0.9574 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.008978, allocations: 237.3 kB / 0.9576 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.009143, allocations: 93.64 kB / 0.9577 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.009164, allocations: 4 kB / 0.9577 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.009183, allocations: 38.56 kB / 0.9577 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.009185, allocations: 4 kB / 0.9577 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0006353/0.00982, allocations: 345.8 kB / 0.9581 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.009858, allocations: 81.09 kB / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01004, allocations: 268.1 kB / 0.9584 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.01005, allocations: 37.69 kB / 0.9584 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.01013, allocations: 156.4 kB / 0.9586 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.01016, allocations: 59.48 kB / 0.9586 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.01021, allocations: 37.7 kB / 0.9587 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.01029, allocations: 338.8 kB / 0.959 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.01046, allocations: 95.84 kB / 0.9591 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.01065, allocations: 137.9 kB / 0.9592 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.01099, allocations: 233.9 kB / 0.9594 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01099, allocations: 4 kB / 0.9594 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004385/0.01143, allocations: 301.1 kB / 0.9597 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01145, allocations: 11.94 kB / 0.9597 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01145, allocations: 0 / 0.9597 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01147, allocations: 4 kB / 0.9597 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01161, allocations: 68.03 kB / 0.9598 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.01162, allocations: 0 / 0.9598 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.01172, allocations: 39.86 kB / 0.9598 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01174, allocations: 7.938 kB / 0.9598 GB, free: 9.59 MB / 0.9167 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 9.143e-05/0.01183, allocations: 133.8 kB / 0.96 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.01189, allocations: 27.81 kB / 0.96 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.01234, allocations: 295.1 kB / 0.9603 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01235, allocations: 4 kB / 0.9603 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.01236, allocations: 3.984 kB / 0.9603 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.01236, allocations: 7.984 kB / 0.9603 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.01267, allocations: 236.5 kB / 0.9605 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01267, allocations: 0 / 0.9605 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.01279, allocations: 55.95 kB / 0.9606 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01279, allocations: 3.938 kB / 0.9606 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01281, allocations: 7.938 kB / 0.9606 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.01281, allocations: 0 / 0.9606 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01281, allocations: 0 / 0.9606 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.01328, allocations: 438.5 kB / 0.961 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.01332, allocations: 31.75 kB / 0.961 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01334, allocations: 4.219 kB / 0.961 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.01348, allocations: 35.95 kB / 0.9611 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.01357, allocations: 19.91 kB / 0.9611 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.01358, allocations: 11.94 kB / 0.9611 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001191/0.0137, allocations: 191.1 kB / 0.9613 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.0137, allocations: 0 / 0.9613 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002261/0.01393, allocations: 55.89 kB / 0.9613 GB, free: 7.977 MB / 0.9167 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.0006652/0.01459, allocations: 0.9868 MB / 0.9623 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.01499, allocations: 219.9 kB / 0.9625 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01499, allocations: 0 / 0.9625 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.01516, allocations: 115.8 kB / 0.9626 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.01553, allocations: 73.72 kB / 0.9627 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.01788, allocations: 2.715 MB / 0.9653 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.551e-05/0.01797, allocations: 138.9 kB / 0.9655 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.384e-05/0.01805, allocations: 26.3 kB / 0.9655 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.01815, allocations: 92.47 kB / 0.9656 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of SimCode: time 7.22e-07/0.01815, allocations: 0 / 0.9656 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.03782, allocations: 7.69 MB / 0.9731 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.879, allocations: 5.484 kB / 0.9731 GB, free: 12.01 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.89524207264185]