Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.001427/0.001427, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001644/0.001644, allocations: 213.8 kB / 22.99 MB, free: 4.957 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.328/3.328, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [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.002058/0.002058, allocations: 62.59 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4143, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003494/0.4178, allocations: 1.741 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000192/0.418, allocations: 87.69 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.418, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.4181, allocations: 11.86 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.4182, allocations: 15.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.4183, allocations: 31.95 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.4184, allocations: 107.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.4186, allocations: 45.22 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.4187, allocations: 39.86 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.276e-05/0.4188, allocations: 51.77 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.4188, allocations: 16 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.4188, allocations: 8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.4189, allocations: 27.91 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.4189, allocations: 43.78 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.4191, allocations: 107.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4191, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4191, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.4191, allocations: 0 / 1.329 GB, free: 14.62 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008491/0.42, allocations: 357.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.42, allocations: 12.03 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.42, allocations: 8.891 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.4203, allocations: 146.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4203, allocations: 12.31 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4203, allocations: 4.375 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.4207, allocations: 134.1 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4207, allocations: 4.188 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4208, allocations: 11.88 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4208, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.4212, allocations: 117.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.4218, allocations: 304.2 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.4221, allocations: 78.52 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.4224, allocations: 64.86 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.4224, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4224, allocations: 34.56 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.4224, allocations: 4 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007594/0.4232, allocations: 185.7 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.4234, allocations: 63.34 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4235, allocations: 127.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4235, allocations: 25.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4236, allocations: 112 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.4237, allocations: 19.84 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.4237, allocations: 17.72 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.424, allocations: 318.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.4243, allocations: 55.88 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.4245, allocations: 51.95 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.4249, allocations: 109.1 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4249, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004572/0.4254, allocations: 145.5 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4254, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.4254, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4254, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4256, allocations: 27.91 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4256, allocations: 7.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.4257, allocations: 23.91 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4257, allocations: 4 kB / 1.332 GB, free: 11.9 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.0001126/0.4258, allocations: 114.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.4259, allocations: 7.953 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.4259, allocations: 16.36 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4259, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4259, allocations: 7.922 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4259, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.4261, allocations: 133.3 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4261, allocations: 3.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4262, allocations: 27.97 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4262, allocations: 3.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4263, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4263, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4263, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.4268, allocations: 251.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.4268, allocations: 7.953 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4268, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.427, allocations: 15.97 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.427, allocations: 16.05 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.427, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.4271, allocations: 97.66 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4271, allocations: 4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002431/0.4274, allocations: 27.89 kB / 1.333 GB, free: 11.12 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.0001372/0.4275, allocations: 95.25 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.428, allocations: 111.8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.428, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.4282, allocations: 55.95 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.4286, allocations: 9.703 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.4291, allocations: 198.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.4292, allocations: 92.12 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.4293, allocations: 7.984 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.4293, allocations: 11.38 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4293, allocations: 4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Templates: time 0.004326/0.4336, allocations: 1.234 MB / 1.334 GB, free: 9.273 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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: 9.41944664499897]