Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 98.88 kB / 16.02 MB, free: 76 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.001493/0.001493, allocations: 184.4 kB / 16.92 MB, free: 6.684 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004058, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.778, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004308/0.7824, allocations: 2.513 MB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.786, allocations: 2.077 MB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.7862, allocations: 4 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.7864, allocations: 27.78 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006982/0.7871, allocations: 199.3 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.7879, allocations: 243.5 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.7885, allocations: 454.8 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.7892, allocations: 360.4 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.7894, allocations: 107.6 kB / 1.03 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.7898, allocations: 163.4 kB / 1.03 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.7899, allocations: 8 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.7907, allocations: 475.1 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.7908, allocations: 83.77 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.791, allocations: 125.2 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.7916, allocations: 373.1 kB / 1.031 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7916, allocations: 3.938 kB / 1.031 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7916, allocations: 0 / 1.031 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.7916, allocations: 0 / 1.031 GB, free: 8.613 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009694/0.7926, allocations: 0.5225 MB / 1.031 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7927, allocations: 8.031 kB / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.7938, allocations: 128.5 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.7941, allocations: 269.2 kB / 1.032 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.7941, allocations: 12.81 kB / 1.032 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.7942, allocations: 20.12 kB / 1.032 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/0.795, allocations: 397.9 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.795, allocations: 0 / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.7951, allocations: 15.98 kB / 1.032 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.7951, allocations: 23.92 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.7959, allocations: 387.7 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.7981, allocations: 1.749 MB / 1.034 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.7989, allocations: 364.9 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.7993, allocations: 193.6 kB / 1.035 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.7995, allocations: 89.09 kB / 1.035 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7995, allocations: 42.5 kB / 1.035 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.422e-06/0.7995, allocations: 4 kB / 1.035 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.00954/0.8091, allocations: 2.209 MB / 1.037 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.8092, allocations: 85.11 kB / 1.037 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.8094, allocations: 178.6 kB / 1.037 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.8094, allocations: 37.7 kB / 1.037 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.8096, allocations: 140.4 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.8097, allocations: 122.2 kB / 1.037 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.8098, allocations: 41.69 kB / 1.038 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.8101, allocations: 326.8 kB / 1.038 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.8107, allocations: 271.8 kB / 1.038 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/0.8114, allocations: 361.4 kB / 1.038 GB, free: 284 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.8128, allocations: 0.6424 MB / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8128, allocations: 3.938 kB / 1.039 GB, free: 15.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001477/0.8143, allocations: 0.6778 MB / 1.04 GB, free: 14.92 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.8144, allocations: 164.8 kB / 1.04 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8144, allocations: 0 / 1.04 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.8144, allocations: 4 kB / 1.04 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.8155, allocations: 159.7 kB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.8155, allocations: 4 kB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.816, allocations: 71.84 kB / 1.04 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.8161, allocations: 12 kB / 1.04 GB, free: 14.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.8161, allocations: 11.94 kB / 1.04 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/0.8175, allocations: 0.613 MB / 1.041 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8175, allocations: 7.984 kB / 1.041 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8175, allocations: 8.219 kB / 1.041 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/0.8185, allocations: 151.8 kB / 1.041 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.8185, allocations: 4 kB / 1.041 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.819, allocations: 63.92 kB / 1.041 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.819, allocations: 15.98 kB / 1.041 GB, free: 13.61 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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 prepare postOptimizeDAE: time 0.000311/0.8193, allocations: 245 kB / 1.041 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.8194, allocations: 23.66 kB / 1.041 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.821, allocations: 0.6958 MB / 1.042 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.821, allocations: 4 kB / 1.042 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8211, allocations: 0 / 1.042 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.8211, allocations: 11.98 kB / 1.042 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.8236, allocations: 1.387 MB / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8236, allocations: 0 / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.8242, allocations: 119.8 kB / 1.043 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.8242, allocations: 8 kB / 1.043 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.8242, allocations: 12 kB / 1.043 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.8242, allocations: 3.984 kB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.8243, allocations: 12.12 kB / 1.043 GB, free: 10.97 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.8254, allocations: 0.7302 MB / 1.044 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.8257, allocations: 140.8 kB / 1.044 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.8257, allocations: 8 kB / 1.044 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.8261, allocations: 51.94 kB / 1.044 GB, free: 9.988 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.8262, allocations: 35.84 kB / 1.044 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.8263, allocations: 8 kB / 1.044 GB, free: 9.945 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001911/0.8265, allocations: 156.3 kB / 1.045 GB, free: 9.793 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8265, allocations: 0 / 1.045 GB, free: 9.793 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007636/0.8272, allocations: 144 kB / 1.045 GB, free: 9.652 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 (37): * Single equations (assignments): 37 * 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.0002929/0.8275, allocations: 143.1 kB / 1.045 GB, free: 9.504 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.8295, allocations: 0.9074 MB / 1.046 GB, free: 8.598 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8295, allocations: 0 / 1.046 GB, free: 8.598 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.83, allocations: 264.8 kB / 1.046 GB, free: 8.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.8306, allocations: 50.73 kB / 1.046 GB, free: 8.293 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.8321, allocations: 0.8561 MB / 1.047 GB, free: 7.383 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.8326, allocations: 0.7877 MB / 1.048 GB, free: 6.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.8328, allocations: 35.42 kB / 1.048 GB, free: 6.535 MB / 0.795 GB Notification: Performance of SimCode: time 8.21e-07/0.8328, allocations: 0 / 1.048 GB, free: 6.535 MB / 0.795 GB Notification: Performance of Templates: time 0.008512/0.8413, allocations: 4.911 MB / 1.052 GB, free: 1.641 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches