Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001327/0.001326, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001771/0.001771, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.888/2.888, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004202, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8419, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004514/0.8465, allocations: 2.926 MB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.8489, allocations: 1.383 MB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.8492, allocations: 7.938 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.8494, allocations: 51.62 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.85, allocations: 147.3 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.8507, allocations: 179.5 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.8513, allocations: 475 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.8517, allocations: 307 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.8519, allocations: 123.5 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.8523, allocations: 183.4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.8523, allocations: 15.94 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.8526, allocations: 115.8 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.8527, allocations: 87.77 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.8528, allocations: 73.52 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.8531, allocations: 341.1 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8532, allocations: 4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8532, allocations: 0 / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.8532, allocations: 0 / 1.029 GB, free: 9.582 MB / 0.7794 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.0008247/0.854, allocations: 0.555 MB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.854, allocations: 8.031 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.8547, allocations: 107.5 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.855, allocations: 276.3 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.8551, allocations: 46.27 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.8552, allocations: 24 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.8558, allocations: 428.5 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.8559, allocations: 0 / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.8559, allocations: 15.98 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.8559, allocations: 28.55 kB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.8565, allocations: 341.9 kB / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.8586, allocations: 2.096 MB / 1.032 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.8591, allocations: 202.7 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.8594, allocations: 148.7 kB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.8595, allocations: 11.97 kB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.8595, allocations: 34.56 kB / 1.033 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.8595, allocations: 0 / 1.033 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0006122/0.8601, allocations: 274.7 kB / 1.033 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.8602, allocations: 55.41 kB / 1.033 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.8604, allocations: 228.9 kB / 1.033 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.8604, allocations: 25.7 kB / 1.033 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.8605, allocations: 195.9 kB / 1.034 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.8606, allocations: 55.2 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.8606, allocations: 8 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.8607, allocations: 330.8 kB / 1.034 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.8609, allocations: 75.95 kB / 1.034 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.8611, allocations: 197.5 kB / 1.034 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.8613, allocations: 105.1 kB / 1.034 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.8613, allocations: 4 kB / 1.034 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004988/0.8618, allocations: 299.6 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.832e-05/0.8619, allocations: 189.1 kB / 1.035 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.862, allocations: 4 kB / 1.035 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.862, allocations: 4 kB / 1.035 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.8623, allocations: 79.83 kB / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008845/0.8632, allocations: 1.314 MB / 1.036 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.8634, allocations: 35.67 kB / 1.036 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.8635, allocations: 16 kB / 1.036 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-06/0.8635, allocations: 4 kB / 1.036 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004335/0.8639, allocations: 244 kB / 1.036 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8639, allocations: 12 kB / 1.036 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8639, allocations: 7.984 kB / 1.036 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.8643, allocations: 67.91 kB / 1.036 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/0.8651, allocations: 1.306 MB / 1.038 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.8653, allocations: 35.73 kB / 1.038 GB, free: 15.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.8653, allocations: 12 kB / 1.038 GB, free: 15.39 MB / 0.795 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.8655, allocations: 237 kB / 1.038 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.8655, allocations: 15.81 kB / 1.038 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.8656, allocations: 26.27 kB / 1.038 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8656, allocations: 8 kB / 1.038 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8656, allocations: 7.891 kB / 1.038 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8656, allocations: 0 / 1.038 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.8665, allocations: 0.7466 MB / 1.039 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8665, allocations: 4 kB / 1.039 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.8668, allocations: 43.97 kB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.8669, allocations: 4 kB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.8669, allocations: 8.156 kB / 1.039 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8669, allocations: 4 kB / 1.039 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.8669, allocations: 11.92 kB / 1.039 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.8673, allocations: 324.6 kB / 1.039 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.8674, allocations: 112.7 kB / 1.039 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.8674, allocations: 11.94 kB / 1.039 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.8676, allocations: 11.98 kB / 1.039 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.8676, allocations: 23.92 kB / 1.039 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.8676, allocations: 4 kB / 1.039 GB, free: 13.66 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001235/0.8678, allocations: 160.5 kB / 1.04 GB, free: 13.51 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8678, allocations: 0 / 1.04 GB, free: 13.51 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005003/0.8683, allocations: 111.7 kB / 1.04 GB, free: 13.4 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.649e-05/0.8684, allocations: 103.2 kB / 1.04 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008893/0.8693, allocations: 346.8 kB / 1.04 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8693, allocations: 0 / 1.04 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.8696, allocations: 99.81 kB / 1.04 GB, free: 12.85 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.87, allocations: 53.67 kB / 1.04 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.8709, allocations: 0.5881 MB / 1.041 GB, free: 12.17 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.8712, allocations: 0.7755 MB / 1.042 GB, free: 11.37 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.8714, allocations: 57.89 kB / 1.042 GB, free: 11.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.8715, allocations: 19.44 kB / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.8715, allocations: 0 / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of Templates: time 0.005457/0.877, allocations: 2.161 MB / 1.044 GB, free: 9.148 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sen.I,sen.P Variables in the result:conDCDC.VHigh,conDCDC.VLow,conDCDC.conversionFactor,conDCDC.eta,conDCDC.ground_1,conDCDC.ground_2,conDCDC.i_n,conDCDC.terminal_n.v[1],conDCDC.v_n,conductor.P_nominal,conductor.V_nominal,conductor.initMode,conductor.linearized,conductor.mode,resistor.P,resistor.P_nominal,resistor.V_nominal,resistor.initMode,resistor.linearized,resistor.mode,sen.I,sen.P,sen.V,sen.terminal_n.v[1],sen.terminal_p.v[1],sou.V,sou.definiteReference,sou.potentialReference,sou.terminal.v[1],time,varLoad_P.duration,varLoad_P.height,varLoad_P.offset,varLoad_P.startTime