Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007281/0.007281, allocations: 100.8 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 195.5 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 67.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8128, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.006979/0.8198, allocations: 3.422 MB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.822, allocations: 1.484 MB / 0.9544 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.8223, allocations: 4.312 kB / 0.9544 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.8238, allocations: 0.674 MB / 0.955 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.8244, allocations: 180.5 kB / 0.9552 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.825, allocations: 224.7 kB / 0.9554 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006749/0.8257, allocations: 0.5665 MB / 0.956 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.8262, allocations: 210.3 kB / 0.9562 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.8264, allocations: 133.9 kB / 0.9563 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.8269, allocations: 200.7 kB / 0.9565 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.827, allocations: 22.08 kB / 0.9565 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.8275, allocations: 292.9 kB / 0.9568 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.8276, allocations: 101.2 kB / 0.9569 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.8278, allocations: 143.2 kB / 0.957 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.8283, allocations: 358.4 kB / 0.9574 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8283, allocations: 0 / 0.9574 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8283, allocations: 0 / 0.9574 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.8283, allocations: 1.281 kB / 0.9574 GB, free: 3.391 MB / 0.7169 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.00112/0.8294, allocations: 0.5875 MB / 0.9579 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8295, allocations: 8.969 kB / 0.9579 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.8303, allocations: 108.9 kB / 0.9581 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.8306, allocations: 285 kB / 0.9583 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.8307, allocations: 42.05 kB / 0.9584 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.8307, allocations: 26.81 kB / 0.9584 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.8314, allocations: 430.9 kB / 0.9588 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.8315, allocations: 1.031 kB / 0.9588 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.8315, allocations: 15.17 kB / 0.9588 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.8316, allocations: 25.64 kB / 0.9588 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.8322, allocations: 328.7 kB / 0.9592 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.8341, allocations: 2.088 MB / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.8347, allocations: 201.5 kB / 0.9614 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.8351, allocations: 137.5 kB / 0.9615 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.8351, allocations: 6.141 kB / 0.9615 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.8352, allocations: 37.03 kB / 0.9616 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/0.8352, allocations: 0 / 0.9616 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0006586/0.8358, allocations: 257.7 kB / 0.9618 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8359, allocations: 53.5 kB / 0.9619 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.8361, allocations: 240.6 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.8362, allocations: 25.7 kB / 0.9621 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.8363, allocations: 196.5 kB / 0.9623 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.8364, allocations: 58.14 kB / 0.9624 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.8364, allocations: 50.86 kB / 0.9624 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8366, allocations: 331.2 kB / 0.9627 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.8368, allocations: 81.28 kB / 0.9628 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.837, allocations: 181.3 kB / 0.963 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.8375, allocations: 268.8 kB / 0.9632 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8375, allocations: 5.188 kB / 0.9632 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005681/0.8381, allocations: 285.5 kB / 0.9635 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.8381, allocations: 10.75 kB / 0.9635 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8381, allocations: 8.312 kB / 0.9635 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.8382, allocations: 8.656 kB / 0.9635 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.8386, allocations: 74.08 kB / 0.9636 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.8397, allocations: 1.302 MB / 0.9649 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.8399, allocations: 36.64 kB / 0.9649 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.84, allocations: 14.22 kB / 0.9649 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002708/0.8402, allocations: 187 kB / 0.9651 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002497/0.8405, allocations: 189 kB / 0.9653 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004318/0.8409, allocations: 271.5 kB / 0.9655 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.8409, allocations: 1.844 kB / 0.9655 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005595/0.8415, allocations: 289.8 kB / 0.9658 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8415, allocations: 10.8 kB / 0.9658 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8416, allocations: 7.266 kB / 0.9658 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.8416, allocations: 9.594 kB / 0.9658 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.842, allocations: 70.31 kB / 0.9659 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.843, allocations: 1.304 MB / 0.9672 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.8432, allocations: 30.83 kB / 0.9672 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.8433, allocations: 14.25 kB / 0.9672 GB, free: 10.64 MB / 0.7325 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.0001416/0.8434, allocations: 201 kB / 0.9674 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.8435, allocations: 21.98 kB / 0.9674 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.8435, allocations: 27.67 kB / 0.9675 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8436, allocations: 2.156 kB / 0.9675 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8436, allocations: 0 / 0.9675 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8436, allocations: 5.578 kB / 0.9675 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.8447, allocations: 0.7258 MB / 0.9682 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8447, allocations: 5.156 kB / 0.9682 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.8451, allocations: 56.69 kB / 0.9682 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8451, allocations: 10.16 kB / 0.9682 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.8451, allocations: 3.156 kB / 0.9682 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8451, allocations: 2.188 kB / 0.9683 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8451, allocations: 1.188 kB / 0.9683 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.8456, allocations: 324.2 kB / 0.9686 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.8457, allocations: 116 kB / 0.9687 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.8458, allocations: 6.094 kB / 0.9687 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.8459, allocations: 8.828 kB / 0.9687 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.846, allocations: 19.64 kB / 0.9687 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.846, allocations: 4.344 kB / 0.9687 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001598/0.8462, allocations: 167.2 kB / 0.9689 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8462, allocations: 0 / 0.9689 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006208/0.8468, allocations: 116.1 kB / 0.969 GB, free: 9.184 MB / 0.7325 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 0.0001142/0.8469, allocations: 101.1 kB / 0.9691 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.848, allocations: 332.4 kB / 0.9694 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.848, allocations: 0 / 0.9694 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.8483, allocations: 89.86 kB / 0.9695 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.8488, allocations: 47.84 kB / 0.9695 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.8498, allocations: 0.6324 MB / 0.9701 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.8503, allocations: 0.7796 MB / 0.9709 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.8503, allocations: 20.41 kB / 0.9709 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.8503, allocations: 1.125 kB / 0.9709 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of Templates: time 0.006865/0.8572, allocations: 3.87 MB / 0.9747 GB, free: 5.609 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches