Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.000955/0.000955, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.000963/0.000963, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9549/0.9549, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.765/1.765, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.7871 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.333e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005196/0.00522, allocations: 3.449 MB / 0.7904 GB, free: 8.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.007579, allocations: 1.491 MB / 0.7919 GB, free: 6.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.007723, allocations: 8.438 kB / 0.7919 GB, free: 6.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.009371, allocations: 0.723 MB / 0.7926 GB, free: 6.043 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.009767, allocations: 197 kB / 0.7928 GB, free: 5.852 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.01027, allocations: 265.4 kB / 0.793 GB, free: 5.594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.01076, allocations: 430.6 kB / 0.7935 GB, free: 5.176 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.01124, allocations: 232 kB / 0.7937 GB, free: 4.945 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.01153, allocations: 235.4 kB / 0.7939 GB, free: 4.715 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.0119, allocations: 179.5 kB / 0.7941 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.01195, allocations: 24 kB / 0.7941 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.01227, allocations: 219.3 kB / 0.7943 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.0124, allocations: 115.7 kB / 0.7944 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.01254, allocations: 111.7 kB / 0.7945 GB, free: 4.078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.0129, allocations: 363.5 kB / 0.7949 GB, free: 3.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.0129, allocations: 4 kB / 0.7949 GB, free: 3.719 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.62e-07/0.0129, allocations: 1.656 kB / 0.7949 GB, free: 3.719 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.01291, allocations: 0 / 0.7949 GB, free: 3.719 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0006536/0.01356, allocations: 0.6319 MB / 0.7955 GB, free: 3.051 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.0136, allocations: 8.562 kB / 0.7955 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004937/0.01409, allocations: 161.9 kB / 0.7956 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.01434, allocations: 223.3 kB / 0.7959 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.0144, allocations: 76.56 kB / 0.7959 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.01444, allocations: 33.16 kB / 0.796 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.0148, allocations: 358.5 kB / 0.7963 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01482, allocations: 8.125 kB / 0.7963 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.01484, allocations: 12.12 kB / 0.7963 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.01488, allocations: 33.64 kB / 0.7964 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.01507, allocations: 129.1 kB / 0.7965 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.01624, allocations: 1.61 MB / 0.7981 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.01656, allocations: 128.3 kB / 0.7982 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.0167, allocations: 80.55 kB / 0.7983 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.01673, allocations: 4 kB / 0.7983 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.01676, allocations: 42.92 kB / 0.7983 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.01676, allocations: 0 / 0.7983 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0002501/0.01701, allocations: 137.5 kB / 0.7984 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.01704, allocations: 59.84 kB / 0.7985 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01718, allocations: 253.5 kB / 0.7987 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.0172, allocations: 26.39 kB / 0.7988 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.0173, allocations: 243 kB / 0.799 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.01733, allocations: 67.98 kB / 0.7991 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.0174, allocations: 64.03 kB / 0.7991 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01751, allocations: 0.5 MB / 0.7996 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.01757, allocations: 44.62 kB / 0.7996 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.01769, allocations: 204.6 kB / 0.7998 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.01788, allocations: 231 kB / 0.8001 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01788, allocations: 0 / 0.8001 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002339/0.01811, allocations: 226.3 kB / 0.8003 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01812, allocations: 4 kB / 0.8003 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01813, allocations: 4 kB / 0.8003 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01814, allocations: 9.344 kB / 0.8003 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.01835, allocations: 63.91 kB / 0.8004 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008301/0.01918, allocations: 1.8 MB / 0.8021 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.01927, allocations: 31.78 kB / 0.8021 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.01928, allocations: 12 kB / 0.8022 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001113/0.01939, allocations: 174.8 kB / 0.8023 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001196/0.01951, allocations: 206.7 kB / 0.8025 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001687/0.01968, allocations: 232.3 kB / 0.8027 GB, free: 11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.01968, allocations: 0 / 0.8027 GB, free: 11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0002095/0.01989, allocations: 210 kB / 0.8029 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/0.0199, allocations: 13.08 kB / 0.8029 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01991, allocations: 7.938 kB / 0.803 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.01991, allocations: 8 kB / 0.803 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.02009, allocations: 64.97 kB / 0.803 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/0.02085, allocations: 1.804 MB / 0.8048 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.02093, allocations: 19.89 kB / 0.8048 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.02094, allocations: 12.5 kB / 0.8048 GB, free: 8.746 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.02104, allocations: 293.1 kB / 0.8051 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.02107, allocations: 27.84 kB / 0.8051 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.0211, allocations: 25.8 kB / 0.8051 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.0211, allocations: 4 kB / 0.8052 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.0211, allocations: 0 / 0.8052 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.02111, allocations: 7.984 kB / 0.8052 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.02158, allocations: 0.5611 MB / 0.8057 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02159, allocations: 4 kB / 0.8057 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.02175, allocations: 51.91 kB / 0.8058 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.02175, allocations: 160 / 0.8058 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.02176, allocations: 11.94 kB / 0.8058 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.02176, allocations: 0 / 0.8058 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02176, allocations: 4 kB / 0.8058 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.02194, allocations: 312.1 kB / 0.8061 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.02198, allocations: 27.84 kB / 0.8061 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.02199, allocations: 11.94 kB / 0.8061 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.02205, allocations: 11.98 kB / 0.8061 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.0221, allocations: 11.92 kB / 0.8061 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.0221, allocations: 12 kB / 0.8061 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.211e-05/0.02218, allocations: 176.1 kB / 0.8063 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.02218, allocations: 4 kB / 0.8063 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003166/0.02249, allocations: 123.7 kB / 0.8064 GB, free: 6.973 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 7.737e-05/0.02257, allocations: 103.2 kB / 0.8065 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000662/0.02323, allocations: 233.9 kB / 0.8068 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02323, allocations: 0 / 0.8068 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.02336, allocations: 67.47 kB / 0.8068 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.02363, allocations: 56.11 kB / 0.8069 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.02434, allocations: 487.3 kB / 0.8073 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.764e-05/0.0244, allocations: 100.3 kB / 0.8074 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.924e-05/0.0245, allocations: 53.88 kB / 0.8075 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.02454, allocations: 20.5 kB / 0.8075 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.02454, allocations: 0 / 0.8075 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of Templates: time 0.003892/0.02843, allocations: 2.46 MB / 0.8099 GB, free: 3.379 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.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.94805788109079]