Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009773/0.0009773, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001119/0.001119, allocations: 169 kB / 24.06 MB, free: 452 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.9896/0.9896, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.067/2.067, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.181e-05, allocations: 4.125 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.002793/0.002804, allocations: 2.651 MB / 0.8819 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003904, allocations: 0.699 MB / 0.8826 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.00402, allocations: 11.94 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.004766, allocations: 438.6 kB / 0.8831 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.004999, allocations: 155.9 kB / 0.8832 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.00527, allocations: 193.7 kB / 0.8834 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.005608, allocations: 440.2 kB / 0.8838 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.005911, allocations: 228.3 kB / 0.884 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.006098, allocations: 231.5 kB / 0.8842 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.006351, allocations: 188.5 kB / 0.8844 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.00639, allocations: 28.69 kB / 0.8845 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.006511, allocations: 95.73 kB / 0.8845 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.006596, allocations: 124.2 kB / 0.8847 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.006676, allocations: 111.7 kB / 0.8848 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.006939, allocations: 292.4 kB / 0.885 GB, free: 228 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.006941, allocations: 0 / 0.885 GB, free: 228 kB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.006941, allocations: 0 / 0.885 GB, free: 228 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.006946, allocations: 0 / 0.885 GB, free: 228 kB / 0.8386 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.0005772/0.007523, allocations: 0.6029 MB / 0.8856 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.007553, allocations: 12.02 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.007957, allocations: 145.7 kB / 0.8858 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.008178, allocations: 219 kB / 0.886 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.00823, allocations: 76.06 kB / 0.8861 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.008256, allocations: 24.38 kB / 0.8861 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.008571, allocations: 345.4 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.00858, allocations: 4.188 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.008602, allocations: 16.11 kB / 0.8864 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.008637, allocations: 32.64 kB / 0.8865 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.008762, allocations: 100.4 kB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.009789, allocations: 1.559 MB / 0.8881 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.01005, allocations: 119.2 kB / 0.8882 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.923e-05/0.01015, allocations: 63.64 kB / 0.8883 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.01017, allocations: 4 kB / 0.8883 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.01019, allocations: 37.39 kB / 0.8883 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.01019, allocations: 4 kB / 0.8883 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0001973/0.01039, allocations: 131.6 kB / 0.8884 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.01041, allocations: 51.41 kB / 0.8885 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.01053, allocations: 261.4 kB / 0.8887 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.01054, allocations: 25.7 kB / 0.8888 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.01063, allocations: 246.9 kB / 0.889 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.01066, allocations: 63.47 kB / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.01072, allocations: 59.3 kB / 0.8891 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002452/0.01096, allocations: 0.5078 MB / 0.8896 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.01101, allocations: 35.66 kB / 0.8896 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.01111, allocations: 204.6 kB / 0.8898 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01126, allocations: 223.1 kB / 0.89 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01126, allocations: 0 / 0.89 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002017/0.01146, allocations: 199.9 kB / 0.8902 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.01147, allocations: 8 kB / 0.8902 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01148, allocations: 4 kB / 0.8902 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.01149, allocations: 4 kB / 0.8902 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01168, allocations: 63.91 kB / 0.8903 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006772/0.01236, allocations: 1.794 MB / 0.8921 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.01245, allocations: 35.94 kB / 0.8921 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01246, allocations: 19.92 kB / 0.8921 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.154e-05/0.01254, allocations: 150.9 kB / 0.8923 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001011/0.01264, allocations: 197.4 kB / 0.8924 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001375/0.01278, allocations: 213.9 kB / 0.8927 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.01278, allocations: 4 kB / 0.8927 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.00018/0.01296, allocations: 205.1 kB / 0.8929 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.01297, allocations: 11.92 kB / 0.8929 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.01297, allocations: 4 kB / 0.8929 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-06/0.01298, allocations: 4 kB / 0.8929 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.01315, allocations: 67.91 kB / 0.8929 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000575/0.01373, allocations: 1.791 MB / 0.8947 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.01381, allocations: 19.89 kB / 0.8947 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01382, allocations: 8 kB / 0.8947 GB, free: 5.531 MB / 0.8542 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 8.76e-05/0.01391, allocations: 284 kB / 0.895 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.01394, allocations: 31.8 kB / 0.895 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.01397, allocations: 29.8 kB / 0.895 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.01397, allocations: 0 / 0.895 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.01397, allocations: 4.094 kB / 0.895 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.01397, allocations: 0 / 0.895 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.01438, allocations: 0.5148 MB / 0.8955 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01438, allocations: 0 / 0.8955 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01454, allocations: 47.91 kB / 0.8956 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01454, allocations: 7.938 kB / 0.8956 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.01455, allocations: 4 kB / 0.8956 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01455, allocations: 8.156 kB / 0.8956 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01455, allocations: 0 / 0.8956 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.01471, allocations: 322 kB / 0.8959 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.01475, allocations: 31.78 kB / 0.8959 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.01476, allocations: 4 kB / 0.896 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.01482, allocations: 8 kB / 0.896 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.01486, allocations: 23.91 kB / 0.896 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.01486, allocations: 4 kB / 0.896 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001869/0.01505, allocations: 164.5 kB / 0.8961 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01505, allocations: 0 / 0.8961 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003129/0.01536, allocations: 123.7 kB / 0.8963 GB, free: 3.84 MB / 0.8542 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 6.605e-05/0.01543, allocations: 106.7 kB / 0.8964 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.01583, allocations: 216.4 kB / 0.8966 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01583, allocations: 192 / 0.8966 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.01595, allocations: 59.53 kB / 0.8966 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01621, allocations: 45.66 kB / 0.8967 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.01689, allocations: 494.8 kB / 0.8971 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.647e-05/0.01694, allocations: 100.3 kB / 0.8972 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.662e-05/0.01702, allocations: 25.94 kB / 0.8973 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.01711, allocations: 110.2 kB / 0.8974 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.01711, allocations: 0 / 0.8974 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of Templates: time 0.004072/0.02119, allocations: 2.729 MB / 0.9 GB, free: 15.94 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.262324657756835]