Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,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.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009772, allocations: 91.92 kB / 16.02 MB, free: 80 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.001155/0.001155, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.27 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.729/2.729, allocations: 437.8 MB / 0.7128 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 8 kB / 0.8735 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7403/0.7407, allocations: 153.8 MB / 1.024 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005976/0.7467, allocations: 5.085 MB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006268/0.753, allocations: 4.073 MB / 1.033 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.7536, allocations: 15.88 kB / 1.033 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.754, allocations: 99.25 kB / 1.033 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.7558, allocations: 0.6342 MB / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.7573, allocations: 0.4912 MB / 1.034 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.7591, allocations: 1.634 MB / 1.035 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.7605, allocations: 0.7063 MB / 1.036 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007268/0.7612, allocations: 390.4 kB / 1.037 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.7623, allocations: 0.5293 MB / 1.037 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.7624, allocations: 39.94 kB / 1.037 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.7641, allocations: 0.9941 MB / 1.038 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003817/0.7645, allocations: 307.1 kB / 1.038 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.7651, allocations: 411.5 kB / 1.039 GB, free: 320 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.7666, allocations: 1.054 MB / 1.04 GB, free: 15.26 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.7666, allocations: 7.938 kB / 1.04 GB, free: 15.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7666, allocations: 0 / 1.04 GB, free: 15.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.7667, allocations: 0 / 1.04 GB, free: 15.25 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002138/0.7688, allocations: 1.017 MB / 1.041 GB, free: 14.18 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.7688, allocations: 8.031 kB / 1.041 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.7792, allocations: 1.727 MB / 1.042 GB, free: 12.45 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.7804, allocations: 0.608 MB / 1.043 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.7804, allocations: 49.66 kB / 1.043 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.7807, allocations: 64.27 kB / 1.043 GB, free: 11.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005161/0.7859, allocations: 1.933 MB / 1.045 GB, free: 9.691 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.7859, allocations: 3.938 kB / 1.045 GB, free: 9.688 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.786, allocations: 31.97 kB / 1.045 GB, free: 9.656 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003594/0.7864, allocations: 153.4 kB / 1.045 GB, free: 9.508 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/0.7946, allocations: 2.628 MB / 1.048 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.8049, allocations: 6.673 MB / 1.054 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.8084, allocations: 1.269 MB / 1.056 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.8111, allocations: 0.907 MB / 1.056 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00222/0.8133, allocations: 1.499 MB / 1.058 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.8134, allocations: 42.86 kB / 1.058 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=73): time 2.805e-06/0.8134, allocations: 0 / 1.058 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=107): time 0.02992/0.8433, allocations: 8.395 MB / 1.066 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.8434, allocations: 94.09 kB / 1.066 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/0.8443, allocations: 0.5808 MB / 1.067 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.8444, allocations: 41.7 kB / 1.067 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.8448, allocations: 423 kB / 1.067 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.8452, allocations: 366.7 kB / 1.068 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.8454, allocations: 109.7 kB / 1.068 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8456, allocations: 390.7 kB / 1.068 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.8488, allocations: 1.123 MB / 1.069 GB, free: 408 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003432/0.8522, allocations: 1.468 MB / 1.071 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006664/0.8589, allocations: 2.631 MB / 1.073 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.8589, allocations: 0 / 1.073 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01192/0.8709, allocations: 3.924 MB / 1.077 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002945/0.8712, allocations: 400.5 kB / 1.077 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.8712, allocations: 12 kB / 1.077 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005707/0.8769, allocations: 1.376 MB / 1.079 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.8792, allocations: 475.2 kB / 1.079 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.8956, allocations: 11.24 MB / 1.09 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.8981, allocations: 311.5 kB / 1.09 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.8983, allocations: 59.97 kB / 1.091 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.8984, allocations: 4.062 kB / 1.091 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01094/0.9093, allocations: 3.612 MB / 1.094 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.9094, allocations: 8 kB / 1.094 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/0.9137, allocations: 1.096 MB / 1.095 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.916, allocations: 491.1 kB / 1.096 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.9303, allocations: 10.35 MB / 1.106 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.9327, allocations: 307.6 kB / 1.106 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.933, allocations: 64.53 kB / 1.106 GB, free: 9.047 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007946/0.9338, allocations: 386.3 kB / 1.106 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.9341, allocations: 90.91 kB / 1.107 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.9459, allocations: 3.786 MB / 1.11 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.946, allocations: 8 kB / 1.11 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.946, allocations: 8 kB / 1.11 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.946, allocations: 7.922 kB / 1.11 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.9598, allocations: 5.496 MB / 1.116 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.9599, allocations: 4 kB / 1.116 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.9616, allocations: 364 kB / 1.116 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/0.9665, allocations: 1.244 MB / 1.117 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.9666, allocations: 35.97 kB / 1.117 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/0.9813, allocations: 10.75 MB / 1.128 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/0.9814, allocations: 11.94 kB / 1.128 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.992, allocations: 3.677 MB / 1.131 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/0.9927, allocations: 343.9 kB / 1.132 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.9929, allocations: 24 kB / 1.132 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.995, allocations: 319.5 kB / 1.132 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.9953, allocations: 112.2 kB / 1.132 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.9954, allocations: 43.97 kB / 1.132 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006218/0.9961, allocations: 414.8 kB / 1.133 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9961, allocations: 0 / 1.133 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002272/0.9984, allocations: 0.5977 MB / 1.133 GB, free: 12.51 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002822/0.9987, allocations: 147.3 kB / 1.133 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.014, allocations: 5.754 MB / 1.139 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.014, allocations: 0 / 1.139 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005328/1.019, allocations: 2.119 MB / 1.141 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.02, allocations: 168.1 kB / 1.141 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.031, allocations: 3.976 MB / 1.145 GB, free: 100 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/1.032, allocations: 1.114 MB / 1.146 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/1.033, allocations: 99.34 kB / 1.146 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/1.033, allocations: 4 kB / 1.146 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.03659/1.069, allocations: 29.56 MB / 1.175 GB, free: 1.289 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches