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: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_10_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.001478/0.001479, allocations: 108 kB / 15.61 MB, free: 152 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.001965/0.001965, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.563/2.563, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 55.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7022, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.006031/0.7083, allocations: 3.367 MB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.711, allocations: 1.48 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.7113, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.7131, allocations: 0.7087 MB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.7137, allocations: 191.1 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.7144, allocations: 247.1 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.7151, allocations: 411.2 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005749/0.7157, allocations: 306 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.716, allocations: 159.4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.7164, allocations: 199.3 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.7164, allocations: 24 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.717, allocations: 231.5 kB / 1.025 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.7171, allocations: 107.8 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.7173, allocations: 143.3 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.718, allocations: 454.5 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.718, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.718, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.718, allocations: 3.984 kB / 1.025 GB, free: 10.5 MB / 0.7794 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.001219/0.7193, allocations: 0.6042 MB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7193, allocations: 12.03 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.128e-05/0.7194, allocations: 62.73 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/0.7202, allocations: 100.5 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.7206, allocations: 268.5 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.7206, allocations: 54.77 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.7207, allocations: 32.31 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.7214, allocations: 420.5 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.7214, allocations: 7.938 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.7215, allocations: 11.98 kB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.7215, allocations: 36.55 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.7221, allocations: 318 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.7243, allocations: 2.096 MB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.7249, allocations: 198.7 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.7252, allocations: 132.8 kB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.7253, allocations: 4 kB / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.7253, allocations: 42.44 kB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.7253, allocations: 4 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.000643/0.726, allocations: 259 kB / 1.03 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.726, allocations: 51.41 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.7262, allocations: 225 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.7263, allocations: 33.7 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.7264, allocations: 187.9 kB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.7264, allocations: 59.11 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.7265, allocations: 57.7 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7267, allocations: 330.8 kB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.7269, allocations: 80.8 kB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.7271, allocations: 189.5 kB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.7275, allocations: 264.7 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7276, allocations: 0 / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005447/0.7281, allocations: 294.1 kB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7281, allocations: 5.25 kB / 1.031 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.7281, allocations: 11.88 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7282, allocations: 4 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.7286, allocations: 67.89 kB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.7296, allocations: 1.405 MB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.7298, allocations: 39.61 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.7299, allocations: 12 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002588/0.7301, allocations: 196 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000229/0.7304, allocations: 178.6 kB / 1.033 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000397/0.7308, allocations: 275.7 kB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.7308, allocations: 4 kB / 1.034 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005299/0.7313, allocations: 288.9 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.7313, allocations: 8 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7313, allocations: 4 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.7313, allocations: 4 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.7317, allocations: 64.38 kB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009101/0.7327, allocations: 1.416 MB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.7329, allocations: 27.83 kB / 1.035 GB, free: 15.24 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.7329, allocations: 12 kB / 1.035 GB, free: 15.23 MB / 0.795 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.0001308/0.733, allocations: 197.2 kB / 1.035 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.7331, allocations: 23.66 kB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.7331, allocations: 34.11 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7332, allocations: 8.062 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.7332, allocations: 0 / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7332, allocations: 0 / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.7341, allocations: 0.7349 MB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7342, allocations: 0 / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.7345, allocations: 59.84 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7345, allocations: 0 / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.7346, allocations: 4 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.7346, allocations: 3.984 kB / 1.036 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7346, allocations: 4 kB / 1.036 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.735, allocations: 325 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.7351, allocations: 108.8 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.7351, allocations: 8 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7353, allocations: 11.98 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.7353, allocations: 19.92 kB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.7354, allocations: 4 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001326/0.7355, allocations: 164.5 kB / 1.037 GB, free: 13.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7355, allocations: 0 / 1.037 GB, free: 13.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005308/0.736, allocations: 111.7 kB / 1.037 GB, free: 13.29 MB / 0.795 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.0007087/0.7368, allocations: 0.866 MB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.738, allocations: 335 kB / 1.038 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.738, allocations: 8.062 kB / 1.038 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.7383, allocations: 87.88 kB / 1.038 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.7388, allocations: 48.91 kB / 1.038 GB, free: 11.92 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.7419, allocations: 2.559 MB / 1.041 GB, free: 9.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.7422, allocations: 0.7792 MB / 1.042 GB, free: 8.348 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.7424, allocations: 61.88 kB / 1.042 GB, free: 8.289 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.7425, allocations: 71.41 kB / 1.042 GB, free: 8.219 MB / 0.795 GB Notification: Performance of SimCode: time 2.084e-06/0.7425, allocations: 0 / 1.042 GB, free: 8.219 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.312/3.054, allocations: 4.775 MB / 1.046 GB, free: 3.582 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/15.39, allocations: 320 / 1.046 GB, free: 3.582 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > 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