Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008108/0.0008109, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009086/0.0009087, allocations: 172.7 kB / 15.95 MB, free: 208 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.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.645/2.645, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.000419, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7756, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.002502/0.7781, allocations: 2.437 MB / 0.9568 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.7803, allocations: 1.87 MB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.7804, allocations: 2.75 kB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.7805, allocations: 27.91 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.7808, allocations: 142.8 kB / 0.9588 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.7813, allocations: 212.5 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.7816, allocations: 369 kB / 0.9594 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.7821, allocations: 341.6 kB / 0.9597 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.7822, allocations: 97.97 kB / 0.9598 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.7825, allocations: 156.2 kB / 0.9599 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.7826, allocations: 9.625 kB / 0.9599 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.7829, allocations: 255.6 kB / 0.9602 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.783, allocations: 91.33 kB / 0.9603 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.7831, allocations: 59.45 kB / 0.9603 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.7834, allocations: 335.9 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7834, allocations: 1.031 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7834, allocations: 0 / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7834, allocations: 0 / 0.9606 GB, free: 3.082 MB / 0.7169 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.0006996/0.7842, allocations: 0.523 MB / 0.9612 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7842, allocations: 8.438 kB / 0.9612 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006682/0.7849, allocations: 113.5 kB / 0.9613 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.7851, allocations: 247.6 kB / 0.9615 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.7852, allocations: 20.39 kB / 0.9615 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.7852, allocations: 20.17 kB / 0.9615 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.7858, allocations: 385.5 kB / 0.9619 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7859, allocations: 1.312 kB / 0.9619 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.7859, allocations: 14.72 kB / 0.9619 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.786, allocations: 28.23 kB / 0.962 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.7866, allocations: 363.3 kB / 0.9623 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.7882, allocations: 1.739 MB / 0.964 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.7888, allocations: 351.7 kB / 0.9643 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.7891, allocations: 188.3 kB / 0.9645 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.7892, allocations: 94.16 kB / 0.9646 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.7893, allocations: 30.56 kB / 0.9646 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.7893, allocations: 0 / 0.9646 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.00701/0.7963, allocations: 2.071 MB / 0.9667 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.7964, allocations: 85.56 kB / 0.9667 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.7966, allocations: 182.6 kB / 0.9669 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.7967, allocations: 31.14 kB / 0.9669 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.7968, allocations: 150.2 kB / 0.9671 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.797, allocations: 125.6 kB / 0.9672 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.797, allocations: 5 kB / 0.9672 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7972, allocations: 333.1 kB / 0.9675 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.7978, allocations: 256.7 kB / 0.9678 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.7983, allocations: 341.1 kB / 0.9681 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.7989, allocations: 302.5 kB / 0.9684 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7989, allocations: 1.062 kB / 0.9684 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001201/0.8001, allocations: 0.6445 MB / 0.969 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.8003, allocations: 161.1 kB / 0.9692 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.8003, allocations: 6.297 kB / 0.9692 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.8003, allocations: 7.719 kB / 0.9692 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.8012, allocations: 157.3 kB / 0.9693 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.8012, allocations: 4.281 kB / 0.9693 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.8016, allocations: 58.3 kB / 0.9694 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.8016, allocations: 15.95 kB / 0.9694 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.8017, allocations: 7.625 kB / 0.9694 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/0.8028, allocations: 0.5916 MB / 0.97 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8028, allocations: 2.156 kB / 0.97 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.8028, allocations: 4.969 kB / 0.97 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/0.8036, allocations: 150.8 kB / 0.9701 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8036, allocations: 4.844 kB / 0.9702 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.804, allocations: 52.86 kB / 0.9702 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.804, allocations: 15.53 kB / 0.9702 GB, free: 12.45 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.8043, allocations: 249.6 kB / 0.9705 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.8044, allocations: 24 kB / 0.9705 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.806, allocations: 0.6898 MB / 0.9712 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.8061, allocations: 4.469 kB / 0.9712 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.8061, allocations: 0.9688 kB / 0.9712 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.8061, allocations: 5.172 kB / 0.9712 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.8089, allocations: 1.381 MB / 0.9725 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.809, allocations: 1.969 kB / 0.9725 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.8096, allocations: 131.8 kB / 0.9726 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.8096, allocations: 4.125 kB / 0.9726 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.8097, allocations: 9.094 kB / 0.9726 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.8097, allocations: 6.641 kB / 0.9727 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8097, allocations: 2.875 kB / 0.9727 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.8107, allocations: 0.7205 MB / 0.9734 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.8109, allocations: 141.3 kB / 0.9735 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.811, allocations: 15.78 kB / 0.9735 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.8113, allocations: 44.88 kB / 0.9736 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.8114, allocations: 32.92 kB / 0.9736 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.8114, allocations: 9.219 kB / 0.9736 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001649/0.8116, allocations: 144.2 kB / 0.9737 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.665e-06/0.8116, allocations: 4 kB / 0.9737 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008212/0.8124, allocations: 152 kB / 0.9739 GB, free: 9.871 MB / 0.7325 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 (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.0002598/0.8127, allocations: 141.8 kB / 0.974 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.8144, allocations: 0.8802 MB / 0.9749 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8144, allocations: 1.156 kB / 0.9749 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.8149, allocations: 265.3 kB / 0.9751 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.8154, allocations: 47.31 kB / 0.9752 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.8168, allocations: 0.8204 MB / 0.976 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.8171, allocations: 0.7862 MB / 0.9767 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005774/0.8177, allocations: 173.4 kB / 0.9769 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.8179, allocations: 31.44 kB / 0.9769 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.8179, allocations: 0 / 0.9769 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of Templates: time 0.00785/0.8257, allocations: 4.394 MB / 0.9812 GB, free: 3.375 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches