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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001183/0.001188, allocations: 113.2 kB / 16.42 MB, free: 6.496 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.00126/0.00126, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.88 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9284, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004198/0.9326, allocations: 3.387 MB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.9347, allocations: 1.483 MB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.9348, allocations: 8.719 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.9362, allocations: 0.6981 MB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.9366, allocations: 193.8 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.9371, allocations: 243 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.9376, allocations: 412.4 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004969/0.9381, allocations: 303.2 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.9383, allocations: 166.5 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.9386, allocations: 184.8 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.9387, allocations: 26.19 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.9391, allocations: 242.9 kB / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.9392, allocations: 106 kB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.9394, allocations: 151.1 kB / 1.096 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.94, allocations: 441.2 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.94, allocations: 5.625 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/0.94, allocations: 0 / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.94, allocations: 3.938 kB / 1.096 GB, free: 0.7422 MB / 0.8575 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.0008619/0.9409, allocations: 0.6014 MB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.9409, allocations: 8.938 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.9416, allocations: 110.9 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.942, allocations: 281.7 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.9421, allocations: 46.7 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.9421, allocations: 29.11 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.9428, allocations: 434.5 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.9429, allocations: 0.875 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.9429, allocations: 7.344 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.943, allocations: 29.95 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.9436, allocations: 330.7 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.9459, allocations: 2.088 MB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.9465, allocations: 203.6 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.9468, allocations: 132.7 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.9469, allocations: 1.906 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.9469, allocations: 36.95 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.9469, allocations: 0 / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0006676/0.9476, allocations: 266.7 kB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.9476, allocations: 53.69 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.9479, allocations: 224.8 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.9479, allocations: 25.7 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.948, allocations: 197.6 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.9481, allocations: 60.02 kB / 1.101 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.9482, allocations: 53.52 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9483, allocations: 330.6 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.9485, allocations: 83.45 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.9488, allocations: 187.4 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.9493, allocations: 270.2 kB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9493, allocations: 1.094 kB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000604/0.9499, allocations: 291.4 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9499, allocations: 6.281 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9499, allocations: 4.188 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.95, allocations: 9.188 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.9504, allocations: 68.59 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.9516, allocations: 1.404 MB / 1.104 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.9518, allocations: 34.2 kB / 1.104 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.9518, allocations: 11.19 kB / 1.104 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002957/0.9521, allocations: 191.8 kB / 1.104 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000255/0.9524, allocations: 185.1 kB / 1.104 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004507/0.9528, allocations: 276.1 kB / 1.105 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.9529, allocations: 5.625 kB / 1.105 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006743/0.9535, allocations: 288.6 kB / 1.105 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9536, allocations: 6.812 kB / 1.105 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.9536, allocations: 3.844 kB / 1.105 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.9536, allocations: 5.375 kB / 1.105 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.954, allocations: 72.45 kB / 1.105 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009496/0.955, allocations: 1.404 MB / 1.106 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.9552, allocations: 29.81 kB / 1.106 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.9552, allocations: 10.84 kB / 1.106 GB, free: 8.57 MB / 0.8731 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.0001423/0.9554, allocations: 202.4 kB / 1.107 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.9554, allocations: 21.77 kB / 1.107 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.9555, allocations: 38.62 kB / 1.107 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9555, allocations: 0.6562 kB / 1.107 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9555, allocations: 0 / 1.107 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.9556, allocations: 109.1 kB / 1.107 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.9557, allocations: 2.203 kB / 1.107 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.9558, allocations: 10.56 kB / 1.107 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.9559, allocations: 9.516 kB / 1.107 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006557/0.9565, allocations: 291.5 kB / 1.107 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006467/0.9572, allocations: 455.4 kB / 1.108 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001716/0.9574, allocations: 79.92 kB / 1.108 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001572/0.9575, allocations: 161.6 kB / 1.108 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of Backend: time 5.21e-07/0.9575, allocations: 1.156 kB / 1.108 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.9591, allocations: 488.8 kB / 1.108 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001082/0.9602, allocations: 0.9094 MB / 1.109 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of Templates: time 0.00874/0.969, allocations: 4.124 MB / 1.113 GB, free: 6.352 MB / 0.8731 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