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.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.001075/0.001075, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.00112/0.00112, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9164/0.9164, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.67/1.67, allocations: 359 MB / 0.6052 GB, free: 11.02 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: 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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.759e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.005758/0.005786, allocations: 1.795 MB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001721/0.005958, allocations: 84.77 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.006007, allocations: 0 / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.006052, allocations: 11.86 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.00612, allocations: 20.56 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.006222, allocations: 33.14 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.00636, allocations: 111.6 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.006501, allocations: 38.75 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.00661, allocations: 59.88 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.006672, allocations: 39.89 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.0067, allocations: 8 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.006714, allocations: 15.09 kB / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.00674, allocations: 19.91 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.006778, allocations: 31.92 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.006903, allocations: 75.67 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006906, allocations: 3.984 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.006907, allocations: 0 / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006911, allocations: 0 / 0.7894 GB, free: 10.15 MB / 0.7448 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.003465/0.01038, allocations: 437.3 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.01042, allocations: 11.97 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.01047, allocations: 24.84 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.01063, allocations: 139.4 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.01064, allocations: 8.375 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.01066, allocations: 13.97 kB / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.01087, allocations: 98.89 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.01088, allocations: 192 / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.01089, allocations: 5 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.0109, allocations: 4.375 kB / 0.7901 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.01098, allocations: 32.69 kB / 0.7902 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.01139, allocations: 344.6 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.01155, allocations: 58.98 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.01159, allocations: 20.5 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.0116, allocations: 9.359 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.01162, allocations: 33.39 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01162, allocations: 0 / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001943/0.01182, allocations: 69.75 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.01185, allocations: 57.09 kB / 0.7907 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.01194, allocations: 177.9 kB / 0.7909 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.01195, allocations: 25.7 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.01201, allocations: 158.7 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.01204, allocations: 21.38 kB / 0.7911 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.01208, allocations: 23.38 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.0122, allocations: 0.4883 MB / 0.7916 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.01223, allocations: 12 kB / 0.7916 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.01225, allocations: 4.531 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/0.01231, allocations: 32.05 kB / 0.7916 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01231, allocations: 0.5625 kB / 0.7916 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001012/0.01241, allocations: 63.28 kB / 0.7917 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01243, allocations: 8 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01243, allocations: 0 / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01244, allocations: 0 / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.01252, allocations: 18.2 kB / 0.7917 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01253, allocations: 3.984 kB / 0.7917 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.01257, allocations: 15.95 kB / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.01258, allocations: 3.938 kB / 0.7917 GB, free: 7.57 MB / 0.7448 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 6.929e-05/0.01265, allocations: 160.5 kB / 0.7919 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.01268, allocations: 12.47 kB / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.0127, allocations: 13.16 kB / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01271, allocations: 4 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01271, allocations: 0.5 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01271, allocations: 1.125 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.01285, allocations: 144.5 kB / 0.7921 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.01285, allocations: 0 / 0.7921 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.01291, allocations: 20.67 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01292, allocations: 3.984 kB / 0.7921 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.01293, allocations: 8.594 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.01293, allocations: 0.8438 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01293, allocations: 0 / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/0.01609, allocations: 211.8 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.0161, allocations: 5.922 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.01611, allocations: 8.109 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.01618, allocations: 8 kB / 0.7923 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.01623, allocations: 11.98 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.01624, allocations: 0.6562 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.01629, allocations: 146.3 kB / 0.7925 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01629, allocations: 2.438 kB / 0.7925 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002228/0.01652, allocations: 16 kB / 0.7925 GB, free: 6.75 MB / 0.7448 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 8.664e-05/0.0166, allocations: 103.2 kB / 0.7926 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.01672, allocations: 35.61 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01672, allocations: 0 / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.01676, allocations: 21.53 kB / 0.7926 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01704, allocations: 24.55 kB / 0.7927 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.01744, allocations: 207.4 kB / 0.7929 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01748, allocations: 63.34 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.01751, allocations: 5.766 kB / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.01755, allocations: 13.12 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of SimCode: time 6.02e-07/0.01756, allocations: 0 / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.004194/0.02175, allocations: 1.214 MB / 0.7941 GB, free: 5.039 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.810876895673573]