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: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 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.001169/0.001169, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 67.05 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3667, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.006232/0.373, allocations: 3.381 MB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.3758, allocations: 1.484 MB / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.3761, allocations: 11.94 kB / 1.058 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.378, allocations: 0.693 MB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006259/0.3786, allocations: 195 kB / 1.059 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.3794, allocations: 239.5 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.38, allocations: 423.1 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005722/0.3806, allocations: 296 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3808, allocations: 167.4 kB / 1.06 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.3812, allocations: 191.3 kB / 1.06 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.3812, allocations: 24 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.3817, allocations: 239.4 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3818, allocations: 103.8 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.382, allocations: 147.3 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.3826, allocations: 446.6 kB / 1.061 GB, free: 240 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3826, allocations: 4 kB / 1.061 GB, free: 236 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3826, allocations: 0 / 1.061 GB, free: 236 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.3826, allocations: 0 / 1.061 GB, free: 236 kB / 0.8106 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.001078/0.3837, allocations: 0.5965 MB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3838, allocations: 8.625 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.3839, allocations: 66.72 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007156/0.3846, allocations: 108.5 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.385, allocations: 273.2 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.385, allocations: 50.81 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.3851, allocations: 28.36 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006957/0.3858, allocations: 420.4 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3858, allocations: 0 / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.3859, allocations: 19.98 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.3859, allocations: 24.55 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.3866, allocations: 333.9 kB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.3889, allocations: 2.092 MB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.3895, allocations: 203.8 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.3898, allocations: 132.8 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.3899, allocations: 0 / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3899, allocations: 42.56 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.3899, allocations: 0 / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006763/0.3906, allocations: 254.2 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3907, allocations: 59.34 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3909, allocations: 229 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3909, allocations: 25.7 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3911, allocations: 192 kB / 1.066 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.3911, allocations: 63.09 kB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.3912, allocations: 53.61 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3913, allocations: 326.8 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.3915, allocations: 84.78 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.3918, allocations: 181.6 kB / 1.066 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.3923, allocations: 278.1 kB / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3923, allocations: 0 / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005645/0.3928, allocations: 295 kB / 1.067 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3929, allocations: 11.94 kB / 1.067 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3929, allocations: 7.938 kB / 1.067 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3929, allocations: 8 kB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.3934, allocations: 72.34 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3945, allocations: 1.404 MB / 1.068 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3947, allocations: 35.67 kB / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3947, allocations: 8 kB / 1.068 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002973/0.395, allocations: 196 kB / 1.069 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002667/0.3953, allocations: 187.6 kB / 1.069 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004216/0.3957, allocations: 271.3 kB / 1.069 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.3958, allocations: 0 / 1.069 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005416/0.3963, allocations: 289 kB / 1.069 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.3963, allocations: 4 kB / 1.069 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3963, allocations: 4 kB / 1.069 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-06/0.3963, allocations: 4.469 kB / 1.069 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.3968, allocations: 75.83 kB / 1.069 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.3978, allocations: 1.405 MB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.398, allocations: 27.83 kB / 1.071 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3981, allocations: 12 kB / 1.071 GB, free: 4.965 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.0001361/0.3982, allocations: 192.2 kB / 1.071 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.3983, allocations: 27.66 kB / 1.071 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.3983, allocations: 30.23 kB / 1.071 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3983, allocations: 0 / 1.071 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3983, allocations: 0 / 1.071 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3984, allocations: 7.984 kB / 1.071 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3995, allocations: 0.7387 MB / 1.072 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3995, allocations: 4 kB / 1.072 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.3999, allocations: 43.97 kB / 1.072 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3999, allocations: 4 kB / 1.072 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3999, allocations: 4 kB / 1.072 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3999, allocations: 4 kB / 1.072 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3999, allocations: 3.938 kB / 1.072 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.4004, allocations: 321 kB / 1.072 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.4005, allocations: 124.7 kB / 1.072 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.4005, allocations: 0 / 1.072 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.4007, allocations: 12 kB / 1.072 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.4007, allocations: 19.84 kB / 1.072 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4008, allocations: 12 kB / 1.072 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001372/0.4009, allocations: 152.5 kB / 1.072 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4009, allocations: 0 / 1.072 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005788/0.4015, allocations: 115.7 kB / 1.073 GB, free: 3.02 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.0007803/0.4023, allocations: 0.8607 MB / 1.073 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.4034, allocations: 345.7 kB / 1.074 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4034, allocations: 0 / 1.074 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.4038, allocations: 95.81 kB / 1.074 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.4043, allocations: 59.86 kB / 1.074 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.4076, allocations: 2.557 MB / 1.076 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.408, allocations: 0.7753 MB / 1.077 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.4082, allocations: 61.88 kB / 1.077 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4083, allocations: 71.36 kB / 1.077 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of SimCode: time 7.11e-07/0.4083, allocations: 4 kB / 1.077 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.825/2.234, allocations: 4.765 MB / 1.082 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.28/20.51, allocations: 9.375 kB / 1.082 GB, free: 9.328 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches