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.001976/0.001976, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002952/0.002951, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.835/2.835, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.548/4.548, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007092/0.0007094, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429/1.429, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.006204/1.436, allocations: 2.866 MB / 0.9837 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00337/1.439, allocations: 1.368 MB / 0.985 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/1.439, allocations: 4 kB / 0.985 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000285/1.44, allocations: 47.69 kB / 0.985 GB, free: 2 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007941/1.441, allocations: 119.6 kB / 0.9852 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/1.442, allocations: 182.6 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006464/1.442, allocations: 235.9 kB / 0.9856 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/1.443, allocations: 307 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/1.443, allocations: 115.6 kB / 0.986 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/1.444, allocations: 131.4 kB / 0.9861 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/1.444, allocations: 12 kB / 0.9861 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/1.444, allocations: 107.8 kB / 0.9862 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/1.445, allocations: 83.8 kB / 0.9863 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/1.445, allocations: 73.52 kB / 0.9863 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007089/1.446, allocations: 337.3 kB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.446, allocations: 0 / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of FrontEnd: time 3.226e-06/1.446, allocations: 0 / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.137e-06/1.446, allocations: 4 kB / 0.9867 GB, free: 304 kB / 0.7325 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.001682/1.447, allocations: 0.5497 MB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.549e-05/1.447, allocations: 8.031 kB / 0.9872 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/1.448, allocations: 62.55 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/1.449, allocations: 119.5 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007041/1.45, allocations: 271.1 kB / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/1.45, allocations: 46.27 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/1.45, allocations: 31.98 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/1.451, allocations: 424.5 kB / 0.9881 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/1.451, allocations: 0 / 0.9881 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/1.451, allocations: 12 kB / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/1.452, allocations: 32.48 kB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.453, allocations: 334 kB / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/1.457, allocations: 2.104 MB / 0.9905 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/1.458, allocations: 214.7 kB / 0.9908 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/1.458, allocations: 4 kB / 0.9908 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.458, allocations: 30.56 kB / 0.9908 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 3.527e-06/1.458, allocations: 0 / 0.9908 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.001247/1.459, allocations: 279.2 kB / 0.9911 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/1.459, allocations: 63.36 kB / 0.9911 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/1.46, allocations: 228.9 kB / 0.9913 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/1.46, allocations: 33.7 kB / 0.9914 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/1.46, allocations: 191.9 kB / 0.9915 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/1.46, allocations: 59.19 kB / 0.9916 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/1.46, allocations: 4 kB / 0.9916 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003364/1.461, allocations: 334.8 kB / 0.9919 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/1.461, allocations: 75.95 kB / 0.992 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/1.462, allocations: 188.8 kB / 0.9922 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006094/1.462, allocations: 107.9 kB / 0.9923 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.462, allocations: 0 / 0.9923 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001122/1.463, allocations: 302.5 kB / 0.9926 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009679/1.464, allocations: 1.225 MB / 0.9938 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.464, allocations: 4 kB / 0.9938 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/1.464, allocations: 7.938 kB / 0.9938 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/1.465, allocations: 75.84 kB / 0.9938 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.467, allocations: 1.31 MB / 0.9951 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/1.468, allocations: 35.69 kB / 0.9952 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/1.468, allocations: 15.98 kB / 0.9952 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.468, allocations: 9.188 kB / 0.9952 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/1.469, allocations: 253.5 kB / 0.9954 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.469, allocations: 4 kB / 0.9954 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.469, allocations: 7.938 kB / 0.9954 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/1.47, allocations: 71.89 kB / 0.9955 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/1.472, allocations: 1.314 MB / 0.9968 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/1.472, allocations: 27.83 kB / 0.9968 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.472, allocations: 16 kB / 0.9968 GB, free: 5.066 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0004432/1.472, allocations: 234.6 kB / 0.9971 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/1.473, allocations: 23.91 kB / 0.9971 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/1.473, allocations: 30.17 kB / 0.9971 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.473, allocations: 3.953 kB / 0.9971 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.473, allocations: 4 kB / 0.9971 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.473, allocations: 0 / 0.9971 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/1.475, allocations: 0.646 MB / 0.9977 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.475, allocations: 4 kB / 0.9977 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/1.475, allocations: 59.89 kB / 0.9978 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/1.475, allocations: 0 / 0.9978 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/1.475, allocations: 4 kB / 0.9978 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.475, allocations: 128 / 0.9978 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.475, allocations: 11.98 kB / 0.9978 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/1.476, allocations: 385.3 kB / 0.9982 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/1.477, allocations: 108.8 kB / 0.9983 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/1.477, allocations: 8 kB / 0.9983 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/1.477, allocations: 15.98 kB / 0.9983 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/1.477, allocations: 15.94 kB / 0.9983 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/1.477, allocations: 8 kB / 0.9983 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000327/1.477, allocations: 160.5 kB / 0.9985 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.21e-07/1.477, allocations: 0 / 0.9985 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009865/1.478, allocations: 115.6 kB / 0.9986 GB, free: 3.105 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002021/1.481, allocations: 1.191 MB / 0.9998 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002107/1.483, allocations: 356.5 kB / 1 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.483, allocations: 448 / 1 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/1.483, allocations: 107.9 kB / 1 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/1.484, allocations: 41.22 kB / 1 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/1.489, allocations: 3.413 MB / 1.004 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/1.49, allocations: 0.7833 MB / 1.004 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003558/1.49, allocations: 61.89 kB / 1.004 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.491, allocations: 67.41 kB / 1.004 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.523e-06/1.491, allocations: 0 / 1.004 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07854/1.569, allocations: 4.346 MB / 1.009 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008069/1.57, allocations: 229.2 kB / 1.009 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.767/5.337, allocations: 12.62 kB / 1.009 GB, free: 8.5 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