Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 99.31 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.001236/0.001236, 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 1.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 19.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8802, allocations: 153.6 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003915/0.8842, allocations: 2.856 MB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.8876, allocations: 1.981 MB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.8878, allocations: 7.938 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.888, allocations: 31.77 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.8886, allocations: 159.5 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.8892, allocations: 219.4 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000342/0.8896, allocations: 223.5 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.8901, allocations: 330.6 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.8903, allocations: 107.6 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.8906, allocations: 123.5 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.8906, allocations: 16 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.8911, allocations: 259.6 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.8912, allocations: 75.78 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.8913, allocations: 73.58 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.8918, allocations: 375.1 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.8918, allocations: 0 / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.107e-06/0.8918, allocations: 0 / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8918, allocations: 3.938 kB / 1.027 GB, free: 10.25 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001026/0.8928, allocations: 0.569 MB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8929, allocations: 15.98 kB / 1.028 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.8938, allocations: 127.5 kB / 1.028 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.8941, allocations: 266.5 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.8942, allocations: 20.38 kB / 1.028 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.8942, allocations: 24 kB / 1.028 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.8949, allocations: 419.5 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8949, allocations: 3.984 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.8949, allocations: 19.98 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/0.895, allocations: 28.55 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.8956, allocations: 353.9 kB / 1.029 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.8981, allocations: 2.058 MB / 1.031 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.8989, allocations: 360.3 kB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.899, allocations: 85.28 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.8991, allocations: 38.75 kB / 1.032 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 3.086e-06/0.8991, allocations: 4 kB / 1.032 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.005057/0.9041, allocations: 1.766 MB / 1.033 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.9042, allocations: 89.08 kB / 1.034 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.9044, allocations: 237 kB / 1.034 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.9045, allocations: 29.7 kB / 1.034 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.9046, allocations: 184 kB / 1.034 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/0.9047, allocations: 118.3 kB / 1.034 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.9047, allocations: 8 kB / 1.034 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9049, allocations: 334.8 kB / 1.034 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.9053, allocations: 204.8 kB / 1.035 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.9057, allocations: 308.2 kB / 1.035 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.9062, allocations: 259.6 kB / 1.035 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9062, allocations: 4 kB / 1.035 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00127/0.9075, allocations: 0.6757 MB / 1.036 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.908, allocations: 1.136 MB / 1.037 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.908, allocations: 4.109 kB / 1.037 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/0.9085, allocations: 147.3 kB / 1.037 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.9089, allocations: 103.9 kB / 1.037 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.9119, allocations: 3.981 MB / 1.041 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.9122, allocations: 39.88 kB / 1.041 GB, free: 11.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.9123, allocations: 16 kB / 1.041 GB, free: 11.38 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.9123, allocations: 4 kB / 1.041 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/0.9136, allocations: 0.6313 MB / 1.042 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9136, allocations: 7.953 kB / 1.042 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.914, allocations: 147.5 kB / 1.042 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.9144, allocations: 95.88 kB / 1.042 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006332/0.915, allocations: 1.109 MB / 1.043 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.9154, allocations: 39.92 kB / 1.043 GB, free: 9.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.9154, allocations: 20 kB / 1.043 GB, free: 9.262 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.9157, allocations: 257.1 kB / 1.043 GB, free: 9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.9157, allocations: 23.72 kB / 1.043 GB, free: 8.977 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.917, allocations: 0.6322 MB / 1.044 GB, free: 8.328 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.917, allocations: 11.94 kB / 1.044 GB, free: 8.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.917, allocations: 0 / 1.044 GB, free: 8.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.917, allocations: 3.984 kB / 1.044 GB, free: 8.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.9192, allocations: 1.23 MB / 1.045 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9192, allocations: 4 kB / 1.045 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.9195, allocations: 64.17 kB / 1.045 GB, free: 6.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/0.92, allocations: 159.2 kB / 1.045 GB, free: 6.754 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.92, allocations: 12 kB / 1.045 GB, free: 6.742 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/0.9231, allocations: 3.993 MB / 1.049 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9231, allocations: 4 kB / 1.049 GB, free: 2.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.9246, allocations: 0.884 MB / 1.05 GB, free: 1.441 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.9248, allocations: 140.8 kB / 1.05 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.9249, allocations: 15.94 kB / 1.05 GB, free: 1.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.9252, allocations: 35.95 kB / 1.05 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.9253, allocations: 28.06 kB / 1.05 GB, free: 1.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.9253, allocations: 16 kB / 1.05 GB, free: 1.191 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001613/0.9255, allocations: 164.5 kB / 1.051 GB, free: 1.031 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.9255, allocations: 0 / 1.051 GB, free: 1.031 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007912/0.9263, allocations: 167.9 kB / 1.051 GB, free: 0.8672 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/0.9265, allocations: 147.1 kB / 1.051 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.9288, allocations: 1.22 MB / 1.052 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9288, allocations: 0 / 1.052 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008111/0.9297, allocations: 0.491 MB / 1.053 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.9301, allocations: 54.66 kB / 1.053 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.9316, allocations: 0.8638 MB / 1.053 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.932, allocations: 0.8045 MB / 1.054 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003523/0.9324, allocations: 118.9 kB / 1.054 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.9325, allocations: 31.42 kB / 1.054 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of SimCode: time 7.91e-07/0.9325, allocations: 0 / 1.054 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.01151/0.944, allocations: 5.458 MB / 1.06 GB, free: 7.535 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches