Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 100 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.001159/0.001159, 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.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 11.98 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7884, allocations: 153.6 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004103/0.7926, allocations: 2.903 MB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.7959, allocations: 1.973 MB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.7961, allocations: 3.938 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.7963, allocations: 39.75 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.7969, allocations: 155.5 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.7976, allocations: 222.2 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.798, allocations: 227.5 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.7985, allocations: 315.4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.7988, allocations: 107.6 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.799, allocations: 127.5 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.7991, allocations: 16 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.7997, allocations: 255.6 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.7998, allocations: 87.72 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.7999, allocations: 73.52 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.8004, allocations: 371.1 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8004, allocations: 0 / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8004, allocations: 0 / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.8004, allocations: 0 / 1.027 GB, free: 10.19 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.001081/0.8015, allocations: 0.569 MB / 1.028 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.8015, allocations: 15.97 kB / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009244/0.8025, allocations: 131.5 kB / 1.028 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.8029, allocations: 266.5 kB / 1.028 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.8029, allocations: 24.39 kB / 1.028 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.803, allocations: 16 kB / 1.028 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.8036, allocations: 419.5 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.8037, allocations: 0 / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.8037, allocations: 12 kB / 1.029 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.8038, allocations: 40.47 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.8044, allocations: 353.9 kB / 1.029 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.8069, allocations: 2.046 MB / 1.031 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.8077, allocations: 358.2 kB / 1.032 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.8079, allocations: 89.28 kB / 1.032 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.8079, allocations: 30.75 kB / 1.032 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.194e-06/0.8079, allocations: 0 / 1.032 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.003409/0.8113, allocations: 1.281 MB / 1.033 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.8114, allocations: 81.3 kB / 1.033 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.8116, allocations: 237 kB / 1.033 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.8117, allocations: 29.7 kB / 1.033 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.8118, allocations: 195.9 kB / 1.033 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.8119, allocations: 90.66 kB / 1.034 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.8119, allocations: 4 kB / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.812, allocations: 338.8 kB / 1.034 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.8124, allocations: 175.8 kB / 1.034 GB, free: 3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.8128, allocations: 263.9 kB / 1.034 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.8132, allocations: 203.9 kB / 1.035 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8132, allocations: 4 kB / 1.035 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001126/0.8143, allocations: 0.5573 MB / 1.035 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005388/0.8148, allocations: 1.134 MB / 1.036 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8149, allocations: 8 kB / 1.036 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/0.8153, allocations: 73.66 kB / 1.036 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.8157, allocations: 99.88 kB / 1.036 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.8173, allocations: 1.969 MB / 1.038 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.8177, allocations: 39.95 kB / 1.038 GB, free: 14.36 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.8177, allocations: 16 kB / 1.038 GB, free: 14.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.8177, allocations: 4 kB / 1.038 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/0.8188, allocations: 0.4975 MB / 1.039 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8188, allocations: 7.984 kB / 1.039 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.8191, allocations: 77.81 kB / 1.039 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.8195, allocations: 103.8 kB / 1.039 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003068/0.8198, allocations: 0.5485 MB / 1.04 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.8201, allocations: 40.06 kB / 1.04 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.8201, allocations: 12 kB / 1.04 GB, free: 13.02 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.8205, allocations: 248.9 kB / 1.04 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.8206, allocations: 27.67 kB / 1.04 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.8217, allocations: 493.8 kB / 1.04 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.8217, allocations: 4 kB / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8217, allocations: 0 / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8217, allocations: 7.984 kB / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.8237, allocations: 1.036 MB / 1.041 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.8237, allocations: 4 kB / 1.041 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.8239, allocations: 72.09 kB / 1.041 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.8242, allocations: 73.67 kB / 1.041 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.8242, allocations: 4 kB / 1.041 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.8257, allocations: 1.996 MB / 1.043 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8258, allocations: 3.938 kB / 1.043 GB, free: 8.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.8269, allocations: 0.7497 MB / 1.044 GB, free: 7.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.827, allocations: 128.8 kB / 1.044 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.8271, allocations: 12 kB / 1.044 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.8273, allocations: 31.97 kB / 1.044 GB, free: 7.762 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.8274, allocations: 35.84 kB / 1.044 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.8275, allocations: 8 kB / 1.044 GB, free: 7.719 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001629/0.8276, allocations: 176.4 kB / 1.045 GB, free: 7.547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8276, allocations: 4 kB / 1.045 GB, free: 7.543 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007019/0.8283, allocations: 128 kB / 1.045 GB, free: 7.418 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002724/0.8286, allocations: 127.7 kB / 1.045 GB, free: 7.285 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.8302, allocations: 0.8448 MB / 1.046 GB, free: 6.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8303, allocations: 0.8125 kB / 1.046 GB, free: 6.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.8308, allocations: 330.3 kB / 1.046 GB, free: 6.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.8312, allocations: 52.84 kB / 1.046 GB, free: 6.016 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.8324, allocations: 0.7712 MB / 1.047 GB, free: 5.203 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.8328, allocations: 0.7963 MB / 1.048 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.8331, allocations: 118.8 kB / 1.048 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.8332, allocations: 27.44 kB / 1.048 GB, free: 4.238 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.8332, allocations: 0 / 1.048 GB, free: 4.238 MB / 0.795 GB Notification: Performance of Templates: time 0.007961/0.8412, allocations: 3.921 MB / 1.051 GB, free: 360 kB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches