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.001396/0.001396, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001726/0.001726, allocations: 181 kB / 23.36 MB, free: 1.133 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.9415/0.9415, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.397/2.397, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.68e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003171/0.003187, allocations: 2.706 MB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.004276, allocations: 0.7009 MB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.00438, allocations: 11.94 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008114/0.005191, allocations: 446.5 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.005446, allocations: 163 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.005766, allocations: 191.6 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.006173, allocations: 431.1 kB / 0.8431 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.006519, allocations: 234.6 kB / 0.8433 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.006742, allocations: 231.5 kB / 0.8436 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.00703, allocations: 187.5 kB / 0.8437 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.007065, allocations: 24 kB / 0.8438 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.007214, allocations: 83.86 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.007304, allocations: 123.6 kB / 0.844 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.007383, allocations: 103.8 kB / 0.8441 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.007655, allocations: 294.9 kB / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.007658, allocations: 0 / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.007658, allocations: 0 / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.007662, allocations: 0 / 0.8443 GB, free: 8.266 MB / 0.8073 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.0005411/0.008203, allocations: 495.6 kB / 0.8448 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.008236, allocations: 8.625 kB / 0.8448 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.008715, allocations: 152.6 kB / 0.845 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.008946, allocations: 202 kB / 0.8452 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.009002, allocations: 76.62 kB / 0.8452 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.009033, allocations: 28.38 kB / 0.8453 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.009357, allocations: 340.4 kB / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.009368, allocations: 4.188 kB / 0.8456 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.009388, allocations: 12.11 kB / 0.8456 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.009423, allocations: 32.64 kB / 0.8456 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.009545, allocations: 84.48 kB / 0.8457 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/0.0105, allocations: 1.154 MB / 0.8468 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.01077, allocations: 148.1 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.01087, allocations: 60.81 kB / 0.847 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.01089, allocations: 8 kB / 0.847 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.01091, allocations: 34.56 kB / 0.8471 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.01091, allocations: 0 / 0.8471 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0001804/0.01109, allocations: 107.7 kB / 0.8472 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.01111, allocations: 55.41 kB / 0.8472 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.01121, allocations: 194.2 kB / 0.8474 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.01147, allocations: 33.7 kB / 0.8474 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.01155, allocations: 192.2 kB / 0.8476 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.01158, allocations: 59.47 kB / 0.8477 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.01163, allocations: 53.58 kB / 0.8477 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.01171, allocations: 346.7 kB / 0.8481 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.01175, allocations: 28.84 kB / 0.8481 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.01183, allocations: 159.3 kB / 0.8482 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.01197, allocations: 175.5 kB / 0.8484 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01197, allocations: 4 kB / 0.8484 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001746/0.01215, allocations: 172.4 kB / 0.8486 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01216, allocations: 4 kB / 0.8486 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01216, allocations: 4 kB / 0.8486 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01218, allocations: 4 kB / 0.8486 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.01238, allocations: 63.91 kB / 0.8487 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005651/0.01295, allocations: 1.215 MB / 0.8498 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.01303, allocations: 27.84 kB / 0.8499 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.01305, allocations: 15.98 kB / 0.8499 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.703e-05/0.01312, allocations: 103 kB / 0.85 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.341e-05/0.0132, allocations: 155.3 kB / 0.8501 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001212/0.01332, allocations: 168.7 kB / 0.8503 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.01332, allocations: 0 / 0.8503 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000154/0.01348, allocations: 175.5 kB / 0.8505 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.01348, allocations: 8 kB / 0.8505 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.01349, allocations: 4 kB / 0.8505 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.01349, allocations: 4 kB / 0.8505 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.01367, allocations: 64.34 kB / 0.8505 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004552/0.01413, allocations: 1.2 MB / 0.8517 GB, free: 92 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.0142, allocations: 23.84 kB / 0.8517 GB, free: 68 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01422, allocations: 12 kB / 0.8517 GB, free: 56 kB / 0.8073 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.007e-05/0.0143, allocations: 192.2 kB / 0.8519 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.01433, allocations: 31.91 kB / 0.852 GB, free: 15.83 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.01435, allocations: 29.88 kB / 0.852 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01435, allocations: 4 kB / 0.852 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.01435, allocations: 0 / 0.852 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01435, allocations: 3.984 kB / 0.852 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.0148, allocations: 0.4958 MB / 0.8525 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.0148, allocations: 0 / 0.8525 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.01504, allocations: 55.91 kB / 0.8525 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01504, allocations: 4.156 kB / 0.8525 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.01505, allocations: 4 kB / 0.8525 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01505, allocations: 0 / 0.8525 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.01505, allocations: 4 kB / 0.8525 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.0152, allocations: 284.5 kB / 0.8528 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.01524, allocations: 27.84 kB / 0.8528 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.01525, allocations: 0 / 0.8528 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.01532, allocations: 11.98 kB / 0.8528 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.01535, allocations: 15.98 kB / 0.8529 GB, free: 14.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01536, allocations: 7.938 kB / 0.8529 GB, free: 14.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.0154, allocations: 60.78 kB / 0.8529 GB, free: 14.74 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.0154, allocations: 0 / 0.8529 GB, free: 14.74 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002679/0.01567, allocations: 123.6 kB / 0.853 GB, free: 14.62 MB / 0.823 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.763e-05/0.01574, allocations: 84.36 kB / 0.8531 GB, free: 14.53 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.01608, allocations: 205.9 kB / 0.8533 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01609, allocations: 4 kB / 0.8533 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.01619, allocations: 52.77 kB / 0.8534 GB, free: 14.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.0164, allocations: 42.36 kB / 0.8534 GB, free: 14.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.01703, allocations: 486.5 kB / 0.8539 GB, free: 13.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.986e-05/0.01709, allocations: 108.2 kB / 0.854 GB, free: 13.57 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.549e-05/0.01717, allocations: 25.94 kB / 0.854 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.01725, allocations: 79.36 kB / 0.8541 GB, free: 13.46 MB / 0.823 GB Notification: Performance of SimCode: time 6.81e-07/0.01725, allocations: 4 kB / 0.8541 GB, free: 13.46 MB / 0.823 GB Notification: Performance of Templates: time 0.004374/0.02163, allocations: 2.629 MB / 0.8567 GB, free: 10.88 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.097534969914705]