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.001117/0.001117, allocations: 92.16 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.001649/0.001649, allocations: 178.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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.262 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.7/2.7, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8148, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003922/0.8187, allocations: 3.054 MB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.8212, allocations: 1.461 MB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.8215, allocations: 4 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.8218, allocations: 51.62 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005787/0.8224, allocations: 167.2 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.8231, allocations: 247.2 kB / 1.029 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.8238, allocations: 0.5614 MB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.8242, allocations: 324.3 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.8245, allocations: 131.4 kB / 1.03 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.8249, allocations: 187.3 kB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.8249, allocations: 12 kB / 1.03 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.8255, allocations: 291.4 kB / 1.03 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.8256, allocations: 103.6 kB / 1.03 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.8258, allocations: 157 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.8263, allocations: 341.1 kB / 1.031 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8263, allocations: 0 / 1.031 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8263, allocations: 3.938 kB / 1.031 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.8263, allocations: 0 / 1.031 GB, free: 8.734 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.001002/0.8273, allocations: 0.5537 MB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8274, allocations: 8.031 kB / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.8281, allocations: 112.5 kB / 1.031 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.8285, allocations: 280.3 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.8286, allocations: 46.83 kB / 1.032 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.8287, allocations: 24.38 kB / 1.032 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.8294, allocations: 429 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.8294, allocations: 7.922 kB / 1.032 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.8295, allocations: 12 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/0.8295, allocations: 28.55 kB / 1.032 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006599/0.8302, allocations: 341.9 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.8325, allocations: 2.096 MB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.8331, allocations: 206.7 kB / 1.035 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.8335, allocations: 136.8 kB / 1.035 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.8335, allocations: 7.984 kB / 1.035 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.8335, allocations: 38.56 kB / 1.035 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.8336, allocations: 3.938 kB / 1.035 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0006843/0.8342, allocations: 269.2 kB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.8343, allocations: 59.34 kB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.8345, allocations: 228.9 kB / 1.035 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.8346, allocations: 33.7 kB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.8347, allocations: 191.9 kB / 1.036 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.8348, allocations: 59.11 kB / 1.036 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.8348, allocations: 25.7 kB / 1.036 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8349, allocations: 334.8 kB / 1.036 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.8352, allocations: 83.92 kB / 1.036 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.8354, allocations: 181.7 kB / 1.036 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.8359, allocations: 286.3 kB / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8359, allocations: 0 / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006036/0.8365, allocations: 307.4 kB / 1.037 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.8367, allocations: 185 kB / 1.037 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8367, allocations: 4 kB / 1.037 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8367, allocations: 8 kB / 1.037 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.8371, allocations: 79.89 kB / 1.037 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.8382, allocations: 1.31 MB / 1.038 GB, free: 144 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.8384, allocations: 39.67 kB / 1.038 GB, free: 104 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.8384, allocations: 12 kB / 1.038 GB, free: 92 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.8385, allocations: 4 kB / 1.038 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005251/0.839, allocations: 255.6 kB / 1.039 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.839, allocations: 7.938 kB / 1.039 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.839, allocations: 7.938 kB / 1.039 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.8394, allocations: 72.34 kB / 1.039 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008869/0.8403, allocations: 1.302 MB / 1.04 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.8405, allocations: 35.91 kB / 1.04 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.8406, allocations: 12 kB / 1.04 GB, free: 14.27 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 (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.0002164/0.8408, allocations: 242.4 kB / 1.04 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.8408, allocations: 19.81 kB / 1.04 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.8409, allocations: 26.17 kB / 1.04 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.8409, allocations: 4 kB / 1.04 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.8409, allocations: 0 / 1.04 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.8409, allocations: 0 / 1.04 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.8421, allocations: 0.7465 MB / 1.041 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8421, allocations: 8 kB / 1.041 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.8424, allocations: 47.91 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8425, allocations: 4 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.8425, allocations: 11.98 kB / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8425, allocations: 3.938 kB / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8425, allocations: 7.984 kB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.843, allocations: 333.4 kB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.8431, allocations: 108.8 kB / 1.041 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.8431, allocations: 4 kB / 1.041 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.8433, allocations: 15.92 kB / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.8433, allocations: 19.92 kB / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.8433, allocations: 4 kB / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001426/0.8435, allocations: 168.5 kB / 1.042 GB, free: 12.38 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8435, allocations: 0 / 1.042 GB, free: 12.38 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005484/0.8441, allocations: 115.6 kB / 1.042 GB, free: 12.26 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 (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.0001076/0.8442, allocations: 107.1 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.8452, allocations: 338.4 kB / 1.042 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.8452, allocations: 8.062 kB / 1.042 GB, free: 11.81 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.8456, allocations: 99.81 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.8461, allocations: 42.88 kB / 1.042 GB, free: 11.67 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.8471, allocations: 0.6458 MB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.8475, allocations: 0.7794 MB / 1.044 GB, free: 10.17 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.8475, allocations: 23.44 kB / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.8475, allocations: 0 / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of Templates: time 0.006485/0.854, allocations: 3.834 MB / 1.048 GB, free: 6.32 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches