Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001019/0.001019, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008841/0.008842, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.034/3.034, allocations: 462.7 MB / 0.7364 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 13.03 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3915, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004756/0.3963, allocations: 3.052 MB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.3988, allocations: 1.461 MB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.3991, allocations: 7.938 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3994, allocations: 47.62 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.4, allocations: 175.3 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.4008, allocations: 235.5 kB / 1.064 GB, free: 456 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.4015, allocations: 0.5616 MB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/0.4019, allocations: 332.1 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.4021, allocations: 127.5 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.4025, allocations: 179.3 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.4025, allocations: 16 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.403, allocations: 291.3 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.4031, allocations: 99.7 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.4033, allocations: 157 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.4039, allocations: 466.6 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.404, allocations: 4 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.254e-06/0.404, allocations: 0 / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.404, allocations: 0 / 1.066 GB, free: 14.21 MB / 0.8262 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.00108/0.4051, allocations: 0.542 MB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4051, allocations: 8.031 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/0.4059, allocations: 120.4 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.4063, allocations: 273.1 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.4063, allocations: 46.83 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.4064, allocations: 24.36 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007597/0.4072, allocations: 433 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4072, allocations: 3.938 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.4072, allocations: 12 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.4073, allocations: 28.53 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.4079, allocations: 345.9 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.4104, allocations: 2.1 MB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.4111, allocations: 206.7 kB / 1.07 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.4114, allocations: 144.8 kB / 1.07 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.4115, allocations: 7.938 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4115, allocations: 34.56 kB / 1.07 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.4115, allocations: 0 / 1.07 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006486/0.4121, allocations: 275 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4122, allocations: 59.25 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4124, allocations: 229 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4125, allocations: 25.7 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.4126, allocations: 199.9 kB / 1.071 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.4127, allocations: 63.09 kB / 1.071 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.4127, allocations: 29.7 kB / 1.071 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4128, allocations: 326.8 kB / 1.071 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.413, allocations: 75.94 kB / 1.071 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.4133, allocations: 189.7 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.4137, allocations: 282.4 kB / 1.072 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4138, allocations: 0 / 1.072 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005502/0.4143, allocations: 306.5 kB / 1.072 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.4145, allocations: 189.1 kB / 1.072 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4145, allocations: 4 kB / 1.072 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4145, allocations: 4 kB / 1.072 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.4149, allocations: 67.89 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.416, allocations: 1.314 MB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4163, allocations: 35.67 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.4163, allocations: 12 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.4163, allocations: 4 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004896/0.4168, allocations: 254.7 kB / 1.074 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4168, allocations: 16.06 kB / 1.074 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.4168, allocations: 11.88 kB / 1.074 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.4172, allocations: 67.91 kB / 1.074 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009701/0.4182, allocations: 1.306 MB / 1.075 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4184, allocations: 35.67 kB / 1.075 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.4184, allocations: 12 kB / 1.075 GB, free: 3.75 MB / 0.8262 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.0002374/0.4187, allocations: 238.5 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.4187, allocations: 19.81 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.4188, allocations: 34.27 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4188, allocations: 0 / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4188, allocations: 8 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4188, allocations: 0 / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.42, allocations: 0.7388 MB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.42, allocations: 0 / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.4204, allocations: 51.97 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4204, allocations: 7.938 kB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4204, allocations: 4.156 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.4204, allocations: 19.8 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4204, allocations: 0 / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.4209, allocations: 331.5 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.421, allocations: 108.8 kB / 1.077 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.421, allocations: 4 kB / 1.077 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.4212, allocations: 19.92 kB / 1.077 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.4213, allocations: 15.92 kB / 1.077 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4213, allocations: 12 kB / 1.077 GB, free: 2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001536/0.4214, allocations: 156.5 kB / 1.077 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4214, allocations: 0 / 1.077 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005595/0.422, allocations: 123.6 kB / 1.077 GB, free: 1.727 MB / 0.8262 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.0001238/0.4221, allocations: 100.9 kB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.4232, allocations: 342.9 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4232, allocations: 0 / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.4236, allocations: 104.6 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.4241, allocations: 45.44 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.4252, allocations: 0.6076 MB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.4257, allocations: 0.7793 MB / 1.079 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.4259, allocations: 57.89 kB / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.4259, allocations: 19.44 kB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.4259, allocations: 0 / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.005976/0.4319, allocations: 2.208 MB / 1.081 GB, free: 13.42 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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