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.001046/0.001046, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.27 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.524/2.524, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003578, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6942, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003594/0.6979, allocations: 3.047 MB / 0.9587 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.7, allocations: 1.47 MB / 0.9601 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.7002, allocations: 7.562 kB / 0.9601 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.7004, allocations: 48.97 kB / 0.9602 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.7008, allocations: 168.5 kB / 0.9603 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.7014, allocations: 238.6 kB / 0.9606 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.7019, allocations: 0.5616 MB / 0.9611 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.7023, allocations: 335.8 kB / 0.9614 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.7024, allocations: 125 kB / 0.9615 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.7028, allocations: 188.9 kB / 0.9617 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.7028, allocations: 17.78 kB / 0.9617 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.7033, allocations: 290.4 kB / 0.962 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.7034, allocations: 103.3 kB / 0.9621 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.7035, allocations: 155.5 kB / 0.9623 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.7039, allocations: 342.1 kB / 0.9626 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7039, allocations: 0.75 kB / 0.9626 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7039, allocations: 0 / 0.9626 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.704, allocations: 4 kB / 0.9626 GB, free: 2.551 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.0008582/0.7048, allocations: 0.5512 MB / 0.9631 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7049, allocations: 12.78 kB / 0.9631 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.7056, allocations: 112.3 kB / 0.9633 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.7059, allocations: 281 kB / 0.9635 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.706, allocations: 46.05 kB / 0.9636 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.706, allocations: 25.53 kB / 0.9636 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.7067, allocations: 426.2 kB / 0.964 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.7067, allocations: 3.938 kB / 0.964 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.7068, allocations: 11.53 kB / 0.964 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/0.7068, allocations: 33.44 kB / 0.964 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.7074, allocations: 335.4 kB / 0.9644 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.7094, allocations: 2.095 MB / 0.9664 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.71, allocations: 206.9 kB / 0.9666 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.7103, allocations: 146.3 kB / 0.9667 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.7104, allocations: 7.984 kB / 0.9668 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.7104, allocations: 33.56 kB / 0.9668 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.7104, allocations: 0 / 0.9668 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007081/0.7111, allocations: 266.8 kB / 0.967 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.7112, allocations: 57.38 kB / 0.9671 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.7114, allocations: 236.8 kB / 0.9673 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.7114, allocations: 30.89 kB / 0.9674 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.7116, allocations: 191.1 kB / 0.9675 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.7117, allocations: 59.03 kB / 0.9676 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.7117, allocations: 32.7 kB / 0.9676 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7118, allocations: 327.5 kB / 0.9679 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.712, allocations: 84.59 kB / 0.968 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.7123, allocations: 182.9 kB / 0.9682 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.7128, allocations: 295.1 kB / 0.9685 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7128, allocations: 5.094 kB / 0.9685 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005907/0.7134, allocations: 300.3 kB / 0.9688 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.7135, allocations: 191.7 kB / 0.9689 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7135, allocations: 3.312 kB / 0.9689 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.7136, allocations: 5.656 kB / 0.969 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.714, allocations: 72.33 kB / 0.969 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.7151, allocations: 1.311 MB / 0.9703 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.7153, allocations: 38.05 kB / 0.9703 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.7153, allocations: 14.78 kB / 0.9704 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.7153, allocations: 3.375 kB / 0.9704 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005232/0.7159, allocations: 247.5 kB / 0.9706 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7159, allocations: 3.031 kB / 0.9706 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.7159, allocations: 13.36 kB / 0.9706 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.7163, allocations: 76.62 kB / 0.9707 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008859/0.7172, allocations: 1.303 MB / 0.972 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.7174, allocations: 29.39 kB / 0.972 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.7174, allocations: 14.19 kB / 0.972 GB, free: 10.2 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.0002145/0.7177, allocations: 243.1 kB / 0.9722 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.7177, allocations: 21.09 kB / 0.9722 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.7178, allocations: 28.2 kB / 0.9723 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7178, allocations: 1.844 kB / 0.9723 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7178, allocations: 4.062 kB / 0.9723 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7178, allocations: 0.9688 kB / 0.9723 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.7189, allocations: 0.7473 MB / 0.973 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7189, allocations: 2 kB / 0.973 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.7193, allocations: 47.56 kB / 0.9731 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7193, allocations: 2.281 kB / 0.9731 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.7193, allocations: 6.375 kB / 0.9731 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.7193, allocations: 5.719 kB / 0.9731 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.7194, allocations: 17.92 kB / 0.9731 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.7198, allocations: 325.9 kB / 0.9734 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.7199, allocations: 107.3 kB / 0.9735 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.72, allocations: 7.219 kB / 0.9735 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.7201, allocations: 19.61 kB / 0.9735 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.7202, allocations: 22.73 kB / 0.9735 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.7202, allocations: 4.188 kB / 0.9736 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001447/0.7203, allocations: 163.7 kB / 0.9737 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7204, allocations: 0 / 0.9737 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005574/0.7209, allocations: 112.7 kB / 0.9738 GB, free: 8.715 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.0001171/0.721, allocations: 103.1 kB / 0.9739 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.7221, allocations: 354.8 kB / 0.9743 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7221, allocations: 0 / 0.9743 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.7224, allocations: 96.22 kB / 0.9743 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.7229, allocations: 41.28 kB / 0.9744 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.7239, allocations: 0.6453 MB / 0.975 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.7242, allocations: 0.7752 MB / 0.9758 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.7243, allocations: 25.75 kB / 0.9758 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7243, allocations: 3.938 kB / 0.9758 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.006164/0.7305, allocations: 3.833 MB / 0.9795 GB, free: 5.156 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