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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001121/0.001121, allocations: 110.5 kB / 16.42 MB, free: 6.523 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.001166/0.001166, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.88 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005268/1.127, allocations: 3.383 MB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002476/1.13, allocations: 1.48 MB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/1.13, allocations: 7.938 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/1.132, allocations: 0.701 MB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005234/1.132, allocations: 191 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/1.133, allocations: 253 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/1.133, allocations: 411.2 kB / 1.174 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005561/1.134, allocations: 291.8 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/1.134, allocations: 159.5 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/1.135, allocations: 191.3 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/1.135, allocations: 28 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/1.135, allocations: 239.4 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/1.135, allocations: 107.7 kB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/1.135, allocations: 151.2 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/1.136, allocations: 458.8 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.136, allocations: 0 / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.224e-06/1.136, allocations: 0 / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.136, allocations: 0 / 1.175 GB, free: 11.81 MB / 0.9044 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/1.137, allocations: 0.6077 MB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.137, allocations: 8.922 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006831/1.138, allocations: 104.6 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/1.138, allocations: 280.6 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/1.138, allocations: 50.81 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/1.138, allocations: 28.31 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/1.139, allocations: 428.6 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.139, allocations: 0 / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/1.139, allocations: 12 kB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/1.139, allocations: 28.55 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/1.14, allocations: 325.9 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/1.142, allocations: 2.096 MB / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/1.143, allocations: 206.6 kB / 1.179 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/1.143, allocations: 124.8 kB / 1.179 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/1.143, allocations: 8 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.143, allocations: 34.55 kB / 1.179 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/1.143, allocations: 0 / 1.179 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.0006505/1.144, allocations: 265.2 kB / 1.18 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/1.144, allocations: 51.41 kB / 1.18 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/1.144, allocations: 229 kB / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/1.144, allocations: 29.7 kB / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/1.144, allocations: 192.3 kB / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/1.144, allocations: 75.36 kB / 1.18 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/1.144, allocations: 53.69 kB / 1.18 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.145, allocations: 334.8 kB / 1.18 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/1.145, allocations: 76.81 kB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/1.145, allocations: 184.2 kB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/1.145, allocations: 267.1 kB / 1.181 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.145, allocations: 4 kB / 1.181 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000527/1.146, allocations: 293 kB / 1.181 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.146, allocations: 4 kB / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.146, allocations: 12.36 kB / 1.181 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.146, allocations: 11.94 kB / 1.181 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/1.146, allocations: 67.91 kB / 1.181 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/1.148, allocations: 1.401 MB / 1.183 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/1.148, allocations: 39.73 kB / 1.183 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/1.148, allocations: 16 kB / 1.183 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002889/1.148, allocations: 192.1 kB / 1.183 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002403/1.148, allocations: 184.1 kB / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004071/1.149, allocations: 269.5 kB / 1.183 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/1.149, allocations: 7.938 kB / 1.183 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005037/1.149, allocations: 285 kB / 1.184 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.149, allocations: 10.19 kB / 1.184 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.149, allocations: 4.469 kB / 1.184 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/1.149, allocations: 4 kB / 1.184 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/1.15, allocations: 75.89 kB / 1.184 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009816/1.151, allocations: 1.404 MB / 1.185 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/1.151, allocations: 31.83 kB / 1.185 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/1.151, allocations: 8 kB / 1.185 GB, free: 0.5977 MB / 0.9044 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.0001444/1.151, allocations: 197.3 kB / 1.185 GB, free: 408 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/1.151, allocations: 19.86 kB / 1.185 GB, free: 388 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/1.151, allocations: 30.11 kB / 1.185 GB, free: 356 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.151, allocations: 8.062 kB / 1.185 GB, free: 348 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.151, allocations: 0 / 1.185 GB, free: 348 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.151, allocations: 108.9 kB / 1.186 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/1.151, allocations: 7.984 kB / 1.186 GB, free: 212 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.152, allocations: 8 kB / 1.186 GB, free: 204 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/1.152, allocations: 7.984 kB / 1.186 GB, free: 196 kB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006664/1.152, allocations: 301.6 kB / 1.186 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006154/1.153, allocations: 456.4 kB / 1.186 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001677/1.153, allocations: 75.94 kB / 1.186 GB, free: 15.35 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001432/1.153, allocations: 164.5 kB / 1.186 GB, free: 15.19 MB / 0.92 GB Notification: Performance of Backend: time 4.21e-07/1.153, allocations: 4.062 kB / 1.186 GB, free: 15.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001478/1.155, allocations: 487.9 kB / 1.187 GB, free: 14.71 MB / 0.92 GB Notification: Performance of SimCode: time 0.001099/1.156, allocations: 0.9215 MB / 1.188 GB, free: 13.74 MB / 0.92 GB Notification: Performance of Templates: time 0.008254/1.164, allocations: 4.127 MB / 1.192 GB, free: 9.625 MB / 0.92 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