Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 107.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7382, allocations: 168.7 MB / 1.269 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003017/0.7412, allocations: 1.751 MB / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001732/0.7414, allocations: 87.67 kB / 1.271 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.7414, allocations: 0 / 1.271 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.7415, allocations: 15.86 kB / 1.271 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.7415, allocations: 11.81 kB / 1.271 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.7417, allocations: 31.95 kB / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.7418, allocations: 111.7 kB / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.742, allocations: 48.88 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.742, allocations: 43.84 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.7421, allocations: 51.77 kB / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.7421, allocations: 12 kB / 1.271 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/0.7421, allocations: 12 kB / 1.271 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.7422, allocations: 19.92 kB / 1.271 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.7423, allocations: 47.73 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.7424, allocations: 117.5 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7424, allocations: 0 / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7424, allocations: 0 / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7424, allocations: 3.938 kB / 1.271 GB, free: 2.797 MB / 0.9669 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.0006818/0.7431, allocations: 434.9 kB / 1.271 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.7432, allocations: 12.03 kB / 1.272 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.7432, allocations: 38.73 kB / 1.272 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.7432, allocations: 16.84 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.7435, allocations: 200.2 kB / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.7435, allocations: 4.375 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.7435, allocations: 8.375 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.7438, allocations: 126.2 kB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.7439, allocations: 3.938 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.7439, allocations: 7.938 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7439, allocations: 4 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.7443, allocations: 119.9 kB / 1.272 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.7448, allocations: 388.4 kB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.7452, allocations: 90.5 kB / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.7454, allocations: 56.94 kB / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.7454, allocations: 0 / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.7454, allocations: 34.56 kB / 1.273 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.7454, allocations: 0 / 1.273 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007254/0.7462, allocations: 197.5 kB / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.7462, allocations: 63.39 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.7463, allocations: 120 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.7463, allocations: 29.7 kB / 1.273 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.7464, allocations: 104 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.7464, allocations: 27.78 kB / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.7465, allocations: 17.72 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7466, allocations: 318.8 kB / 1.273 GB, free: 204 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.7469, allocations: 47.95 kB / 1.273 GB, free: 156 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.7471, allocations: 55.94 kB / 1.273 GB, free: 100 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.7475, allocations: 100.8 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7475, allocations: 4 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004496/0.7479, allocations: 145.4 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.7479, allocations: 6.031 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.7479, allocations: 3.984 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7479, allocations: 3.938 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.7481, allocations: 31.97 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7481, allocations: 3.938 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.7482, allocations: 11.98 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.7482, allocations: 8 kB / 1.274 GB, free: 15.78 MB / 0.9825 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.0001013/0.7483, allocations: 119.4 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.7484, allocations: 7.953 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.7484, allocations: 12.31 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7484, allocations: 4 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7484, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7484, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.7486, allocations: 210 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7486, allocations: 3.984 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.7488, allocations: 35.91 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7488, allocations: 0 / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7488, allocations: 3.938 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7488, allocations: 4 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7488, allocations: 0 / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.7493, allocations: 244.9 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.7494, allocations: 81.11 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.7494, allocations: 3.938 kB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.7495, allocations: 19.97 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.7496, allocations: 11.98 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.7496, allocations: 0 / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.7497, allocations: 99.2 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7497, allocations: 0 / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002376/0.7499, allocations: 23.95 kB / 1.275 GB, free: 14.81 MB / 0.9825 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.0008491/0.7508, allocations: 0.7714 MB / 1.275 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.7512, allocations: 115.8 kB / 1.276 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7512, allocations: 3.938 kB / 1.276 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.7514, allocations: 55.94 kB / 1.276 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.7518, allocations: 15.98 kB / 1.276 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.7542, allocations: 1.59 MB / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.7545, allocations: 0.6924 MB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.896e-05/0.7546, allocations: 15.92 kB / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.7547, allocations: 31.38 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.7547, allocations: 0 / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.78, allocations: 2.26 MB / 1.28 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/9.28, allocations: 13.17 kB / 1.28 GB, free: 9.25 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.112734581809491]