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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001033/0.001038, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001344/0.001344, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.9/2.9, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 11.94 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3887, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004673/0.3934, allocations: 2.932 MB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.396, allocations: 1.384 MB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.3963, allocations: 4 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3966, allocations: 43.62 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.3973, allocations: 143.3 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.398, allocations: 183.6 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00074/0.3988, allocations: 463.1 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.3993, allocations: 303.1 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.3996, allocations: 135.5 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.4001, allocations: 179.4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.4002, allocations: 19.94 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.4006, allocations: 107.9 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.4007, allocations: 99.69 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.4008, allocations: 73.58 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.4014, allocations: 327.4 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4014, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4014, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.4014, allocations: 0 / 1.064 GB, free: 14.88 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.001123/0.4026, allocations: 0.5612 MB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4026, allocations: 8.031 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007922/0.4034, allocations: 111.5 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.4039, allocations: 279.9 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-05/0.404, allocations: 50.25 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.404, allocations: 24 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.4048, allocations: 424.5 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4048, allocations: 4 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.4049, allocations: 8 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.4049, allocations: 36.53 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.4056, allocations: 330 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.4083, allocations: 2.108 MB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.4089, allocations: 202.7 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.4093, allocations: 140.8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.4094, allocations: 7.938 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4094, allocations: 38.52 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.4095, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006795/0.4101, allocations: 266.8 kB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4102, allocations: 51.41 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.4105, allocations: 228.9 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.4105, allocations: 33.64 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4107, allocations: 191.9 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.4108, allocations: 63.09 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.4108, allocations: 4 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4109, allocations: 334.8 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.4111, allocations: 75.95 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.4114, allocations: 192.5 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.4117, allocations: 105.8 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4118, allocations: 3.938 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005843/0.4124, allocations: 301.4 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.4125, allocations: 194.9 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4125, allocations: 4 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4126, allocations: 4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.4129, allocations: 67.91 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.4141, allocations: 1.314 MB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.4145, allocations: 39.67 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.4145, allocations: 8 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4145, allocations: 4 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006158/0.4152, allocations: 251.5 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4152, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.4152, allocations: 8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.4155, allocations: 72.33 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.4167, allocations: 1.31 MB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.4169, allocations: 39.89 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.4169, allocations: 12 kB / 1.073 GB, free: 4.684 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.4172, allocations: 237 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.4172, allocations: 23.8 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.4173, allocations: 22.19 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4173, allocations: 7.953 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4173, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.4173, allocations: 3.984 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.4186, allocations: 0.7544 MB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4186, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.4189, allocations: 51.91 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.419, allocations: 4 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.419, allocations: 4 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.419, allocations: 4 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.419, allocations: 0 / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.4195, allocations: 332.9 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4197, allocations: 116.8 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4197, allocations: 4 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4199, allocations: 11.98 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.4199, allocations: 19.91 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.42, allocations: 8 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001586/0.4201, allocations: 164.5 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4201, allocations: 0 / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006049/0.4207, allocations: 123.5 kB / 1.075 GB, free: 2.664 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001328/0.4209, allocations: 99.19 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.4219, allocations: 338.5 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4219, allocations: 0 / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.4222, allocations: 104.1 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4227, allocations: 44.36 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4239, allocations: 0.5744 MB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.4245, allocations: 0.7793 MB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003201/0.4249, allocations: 61.88 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.4249, allocations: 19.44 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4249, allocations: 7.938 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of Templates: time 0.00675/0.4317, allocations: 2.161 MB / 1.079 GB, free: 14.43 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