Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001892/0.001892, allocations: 111 kB / 16.46 MB, free: 6.453 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.002287/0.002287, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.136/3.136, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.HACoilInside,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_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.001962/0.001962, allocations: 63.81 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3503, allocations: 176.1 MB / 1.321 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003259/0.3536, allocations: 1.634 MB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3555, allocations: 0.9892 MB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.3555, allocations: 0 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.3556, allocations: 7.938 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.3558, allocations: 23.78 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.3563, allocations: 167.4 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3565, allocations: 75.7 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3566, allocations: 12.22 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.3568, allocations: 47.84 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.3569, allocations: 39.78 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3569, allocations: 4 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.3573, allocations: 283.7 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.3574, allocations: 15.92 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.3574, allocations: 35.8 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.3577, allocations: 155.3 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3577, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3577, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3577, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 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.0006806/0.3584, allocations: 430.8 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3585, allocations: 11.98 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3585, allocations: 30.75 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.3588, allocations: 40.8 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.3591, allocations: 201.9 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.3591, allocations: 4.375 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3591, allocations: 8.375 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3593, allocations: 69.72 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3593, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3593, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3593, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3595, allocations: 39.97 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.36, allocations: 300.8 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3601, allocations: 54.5 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3602, allocations: 28.97 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3602, allocations: 4 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3603, allocations: 38.55 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3603, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.000406/0.3607, allocations: 109.5 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3607, allocations: 51.41 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3609, allocations: 135.8 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3609, allocations: 29.7 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.361, allocations: 100.1 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.361, allocations: 19.84 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.3611, allocations: 21.7 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3612, allocations: 318.8 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.3613, allocations: 23.97 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.3614, allocations: 27.98 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3616, allocations: 48.83 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3616, allocations: 4 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002328/0.3618, allocations: 89.62 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3618, allocations: 4 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3618, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3618, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3619, allocations: 20.36 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3619, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.362, allocations: 15.94 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.362, allocations: 4 kB / 1.326 GB, free: 13.28 MB / 1.029 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 0.0001073/0.3621, allocations: 117.8 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.3622, allocations: 15.89 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3625, allocations: 93.95 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3625, allocations: 4 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3625, allocations: 0 / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3625, allocations: 0 / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.3627, allocations: 189.5 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3627, allocations: 4 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.3628, allocations: 11.98 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3628, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.3628, allocations: 8 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3628, allocations: 3.984 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3628, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3631, allocations: 187.4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3632, allocations: 89.05 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3632, allocations: 0 / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.3633, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3633, allocations: 3.984 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.3633, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.257e-05/0.3634, allocations: 103.2 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3634, allocations: 0 / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002537/0.3637, allocations: 27.94 kB / 1.327 GB, free: 12.33 MB / 1.029 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.0007854/0.3644, allocations: 0.7436 MB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.3647, allocations: 56.09 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3647, allocations: 4 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.3648, allocations: 24.11 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3651, allocations: 22.16 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3669, allocations: 1.472 MB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.3673, allocations: 0.6963 MB / 1.33 GB, free: 9.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.3673, allocations: 7.984 kB / 1.33 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.3674, allocations: 27.42 kB / 1.33 GB, free: 9.152 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3674, allocations: 0 / 1.33 GB, free: 9.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.393, allocations: 2.38 MB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.24, allocations: 9.453 kB / 1.333 GB, free: 6.887 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.881717409007251]