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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> 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.0009586/0.0009585, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001161/0.001161, allocations: 168.7 kB / 15.95 MB, free: 204 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.449/1.449, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.58/2.58, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003795, allocations: 11.94 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7621, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003365/0.7655, allocations: 2.921 MB / 0.984 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.7675, allocations: 1.387 MB / 0.9853 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.7676, allocations: 7.938 kB / 0.9853 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.7678, allocations: 47.64 kB / 0.9854 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.7681, allocations: 135.3 kB / 0.9855 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.7686, allocations: 191.5 kB / 0.9857 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.7691, allocations: 474.9 kB / 0.9862 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.7694, allocations: 307 kB / 0.9865 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.7696, allocations: 127.5 kB / 0.9866 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.7699, allocations: 179.4 kB / 0.9867 GB, free: 480 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.7699, allocations: 12 kB / 0.9868 GB, free: 468 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.7701, allocations: 123.8 kB / 0.9869 GB, free: 344 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.11e-05/0.7702, allocations: 87.77 kB / 0.987 GB, free: 256 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.7703, allocations: 81.52 kB / 0.987 GB, free: 168 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.7706, allocations: 333.3 kB / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7706, allocations: 3.984 kB / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7706, allocations: 0 / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.7707, allocations: 0 / 0.9874 GB, free: 15.84 MB / 0.7481 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.0008026/0.7715, allocations: 0.5547 MB / 0.9879 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.7715, allocations: 12.03 kB / 0.9879 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.861e-05/0.7716, allocations: 66.52 kB / 0.988 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006378/0.7722, allocations: 103.5 kB / 0.9881 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.7725, allocations: 271.2 kB / 0.9883 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.7726, allocations: 50.25 kB / 0.9884 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.7727, allocations: 24 kB / 0.9884 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.7734, allocations: 428.5 kB / 0.9888 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.7734, allocations: 0 / 0.9888 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7734, allocations: 12 kB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.7735, allocations: 32.55 kB / 0.9889 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.7741, allocations: 329.9 kB / 0.9892 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.7762, allocations: 2.108 MB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.7767, allocations: 206.7 kB / 0.9914 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.777, allocations: 140.8 kB / 0.9916 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.7771, allocations: 4 kB / 0.9916 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.7771, allocations: 34.55 kB / 0.9916 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.7771, allocations: 4 kB / 0.9916 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0005914/0.7777, allocations: 268 kB / 0.9919 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.7778, allocations: 59.39 kB / 0.9919 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.778, allocations: 232.9 kB / 0.9921 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.778, allocations: 29.7 kB / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.7781, allocations: 191.9 kB / 0.9923 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.7782, allocations: 59.14 kB / 0.9924 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.7782, allocations: 4 kB / 0.9924 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7783, allocations: 334.8 kB / 0.9927 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.7785, allocations: 79.95 kB / 0.9928 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.7788, allocations: 189.5 kB / 0.993 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.779, allocations: 96 kB / 0.9931 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.779, allocations: 3.984 kB / 0.9931 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000501/0.7795, allocations: 298.7 kB / 0.9934 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.7796, allocations: 193.4 kB / 0.9935 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7796, allocations: 4 kB / 0.9935 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7797, allocations: 4 kB / 0.9936 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.78, allocations: 71.89 kB / 0.9936 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009685/0.781, allocations: 1.306 MB / 0.9949 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.7812, allocations: 39.83 kB / 0.9949 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.7812, allocations: 27.94 kB / 0.995 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-06/0.7813, allocations: 4 kB / 0.995 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000446/0.7817, allocations: 245 kB / 0.9952 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.7817, allocations: 7.938 kB / 0.9952 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.7817, allocations: 4 kB / 0.9952 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.7821, allocations: 71.89 kB / 0.9953 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000843/0.7829, allocations: 1.306 MB / 0.9966 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.7831, allocations: 39.69 kB / 0.9966 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.7831, allocations: 12 kB / 0.9966 GB, free: 5.578 MB / 0.7481 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.0001914/0.7833, allocations: 237.2 kB / 0.9968 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.7834, allocations: 19.81 kB / 0.9968 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.7835, allocations: 22.19 kB / 0.9969 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7835, allocations: 4 kB / 0.9969 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.7835, allocations: 3.984 kB / 0.9969 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7835, allocations: 3.953 kB / 0.9969 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.7845, allocations: 0.7505 MB / 0.9976 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7845, allocations: 0 / 0.9976 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.7848, allocations: 56.08 kB / 0.9977 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7848, allocations: 4 kB / 0.9977 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7848, allocations: 4 kB / 0.9977 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.7848, allocations: 4 kB / 0.9977 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7849, allocations: 3.938 kB / 0.9977 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.7853, allocations: 326 kB / 0.998 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.7854, allocations: 112.8 kB / 0.9981 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.7854, allocations: 15.95 kB / 0.9981 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.7856, allocations: 15.98 kB / 0.9981 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.7856, allocations: 15.92 kB / 0.9981 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.7856, allocations: 4 kB / 0.9981 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001305/0.7858, allocations: 164.5 kB / 0.9983 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7858, allocations: 0 / 0.9983 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005225/0.7863, allocations: 115.7 kB / 0.9984 GB, free: 3.574 MB / 0.7481 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.0006849/0.787, allocations: 0.8728 MB / 0.9993 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008972/0.7879, allocations: 341.1 kB / 0.9996 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7879, allocations: 64 / 0.9996 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.7883, allocations: 99.98 kB / 0.9997 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.7887, allocations: 46.12 kB / 0.9997 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.7909, allocations: 1.435 MB / 1.001 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.7914, allocations: 0.7755 MB / 1.002 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000184/0.7915, allocations: 57.89 kB / 1.002 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.7917, allocations: 71.41 kB / 1.002 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of SimCode: time 3.41e-07/0.7917, allocations: 0 / 1.002 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.8081, allocations: 4.41 MB / 1.006 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.8083, allocations: 231.6 kB / 1.007 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.712, allocations: 1 kB / 1.007 GB, free: 11.27 MB / 0.7637 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat does not exist to compare? outputFormat=mat