Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001691/0.001691, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.002085/0.002085, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 3.088/3.088, allocations: 389 MB / 0.633 GB, free: 1.031 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: 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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.044e-05/4.225e-05, allocations: 6.219 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003417/0.00346, allocations: 1.751 MB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002125/0.003672, allocations: 79.75 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.003737, allocations: 0 / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.003785, allocations: 11.86 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.003872, allocations: 23.73 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.003997, allocations: 35.95 kB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.004159, allocations: 107.6 kB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.004326, allocations: 45.25 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.004439, allocations: 55.89 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.004517, allocations: 39.88 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.004546, allocations: 8 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.004565, allocations: 12 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.004609, allocations: 23.92 kB / 1.002 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.004659, allocations: 31.91 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.004854, allocations: 119.6 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004857, allocations: 4 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004859, allocations: 4 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.004863, allocations: 0 / 1.002 GB, free: 4.953 MB / 0.9512 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.0007575/0.005621, allocations: 349.9 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.005668, allocations: 8.031 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.005713, allocations: 16.78 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.005951, allocations: 141.6 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.005967, allocations: 8.375 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.006003, allocations: 12.38 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.006435, allocations: 126.1 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.006447, allocations: 4.172 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.006461, allocations: 4.312 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006467, allocations: 384 / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.006982, allocations: 131.8 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.007505, allocations: 296.2 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.007895, allocations: 86.52 kB / 1.004 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.008145, allocations: 60.92 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.008162, allocations: 0 / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.008191, allocations: 38.5 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.008192, allocations: 0 / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0008541/0.009047, allocations: 193.7 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.009102, allocations: 51.41 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.009227, allocations: 128.5 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.009247, allocations: 25.7 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.009335, allocations: 108 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.009374, allocations: 27.78 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.009422, allocations: 17.72 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.009592, allocations: 322.8 kB / 1.005 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.00983, allocations: 47.94 kB / 1.005 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.01006, allocations: 51.94 kB / 1.005 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.01053, allocations: 117.1 kB / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01053, allocations: 0 / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005168/0.01105, allocations: 141.5 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01106, allocations: 4 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01107, allocations: 4 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.01108, allocations: 0 / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.01125, allocations: 23.97 kB / 1.005 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.01126, allocations: 7.984 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.01139, allocations: 15.98 kB / 1.005 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.0114, allocations: 7.938 kB / 1.005 GB, free: 2.254 MB / 0.9512 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.0001226/0.01153, allocations: 118.3 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.01156, allocations: 15.94 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.01159, allocations: 12.38 kB / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01159, allocations: 0 / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.0116, allocations: 0 / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.0116, allocations: 0 / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.0118, allocations: 137.2 kB / 1.005 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.0118, allocations: 0 / 1.005 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.01197, allocations: 27.97 kB / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01197, allocations: 0 / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01198, allocations: 8 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01198, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01198, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.01257, allocations: 239.3 kB / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.01259, allocations: 11.95 kB / 1.005 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.0126, allocations: 4.062 kB / 1.005 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.01276, allocations: 27.97 kB / 1.005 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.01283, allocations: 7.984 kB / 1.005 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.01283, allocations: 4 kB / 1.005 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.0129, allocations: 95.27 kB / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.0129, allocations: 0 / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002435/0.01315, allocations: 19.94 kB / 1.006 GB, free: 1.488 MB / 0.9512 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.0001511/0.0133, allocations: 99.23 kB / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005264/0.01382, allocations: 119.8 kB / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01383, allocations: 0 / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.01408, allocations: 59.88 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.01446, allocations: 8 kB / 1.006 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.01497, allocations: 201.1 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.14e-05/0.01506, allocations: 84.31 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.0151, allocations: 0 / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.01515, allocations: 16.5 kB / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.01515, allocations: 0 / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of Templates: time 0.004386/0.01953, allocations: 1.146 MB / 1.007 GB, free: 15.72 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.08498503640294]