Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001153/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.402 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.769/2.769, allocations: 437.8 MB / 0.7118 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004054, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8786, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005465/0.8841, allocations: 4.747 MB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005498/0.8897, allocations: 3.802 MB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.8901, allocations: 19.88 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.8904, allocations: 99.23 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.8919, allocations: 0.5133 MB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.8932, allocations: 411 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.8948, allocations: 1.322 MB / 1.033 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.896, allocations: 0.6716 MB / 1.034 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.8966, allocations: 394.5 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007677/0.8973, allocations: 0.5099 MB / 1.035 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.8974, allocations: 36 kB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.8985, allocations: 491.3 kB / 1.035 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.8988, allocations: 303.2 kB / 1.035 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.899, allocations: 165.3 kB / 1.036 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.9003, allocations: 1.019 MB / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9004, allocations: 0 / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9004, allocations: 0 / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.9004, allocations: 0 / 1.037 GB, free: 1.508 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002074/0.9025, allocations: 1.024 MB / 1.038 GB, free: 444 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.9025, allocations: 8.562 kB / 1.038 GB, free: 436 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/0.911, allocations: 1.695 MB / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.9122, allocations: 0.603 MB / 1.04 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.9123, allocations: 49.25 kB / 1.04 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.9124, allocations: 59.98 kB / 1.04 GB, free: 13.97 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.9168, allocations: 1.913 MB / 1.042 GB, free: 12 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.9168, allocations: 4 kB / 1.042 GB, free: 12 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.9169, allocations: 23.98 kB / 1.042 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003291/0.9173, allocations: 153.3 kB / 1.042 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006988/0.9243, allocations: 2.612 MB / 1.044 GB, free: 9.207 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009645/0.9339, allocations: 6.653 MB / 1.051 GB, free: 2.188 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.9369, allocations: 1.262 MB / 1.052 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.9392, allocations: 0.9032 MB / 1.053 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/0.9413, allocations: 1.48 MB / 1.055 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.9413, allocations: 42.42 kB / 1.055 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=73): time 2.745e-06/0.9413, allocations: 4 kB / 1.055 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=107): time 0.02451/0.9658, allocations: 8.246 MB / 1.063 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.966, allocations: 94.05 kB / 1.063 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.9669, allocations: 0.5731 MB / 1.063 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.9671, allocations: 41.7 kB / 1.063 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.9674, allocations: 423 kB / 1.064 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.9678, allocations: 366.7 kB / 1.064 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.9679, allocations: 24 kB / 1.064 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.968, allocations: 390.8 kB / 1.064 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.9709, allocations: 1.103 MB / 1.066 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/0.974, allocations: 1.46 MB / 1.067 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.9769, allocations: 1.214 MB / 1.068 GB, free: 236 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.9769, allocations: 7.953 kB / 1.068 GB, free: 228 kB / 0.8106 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01018/0.9871, allocations: 3.882 MB / 1.072 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.9874, allocations: 404.2 kB / 1.072 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.9874, allocations: 8 kB / 1.072 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004872/0.9923, allocations: 1.384 MB / 1.074 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.9943, allocations: 459.2 kB / 1.074 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/1.011, allocations: 11.23 MB / 1.085 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/1.013, allocations: 311.6 kB / 1.085 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/1.013, allocations: 75.91 kB / 1.085 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/1.013, allocations: 4 kB / 1.085 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009235/1.022, allocations: 3.565 MB / 1.089 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/1.022, allocations: 12.11 kB / 1.089 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/1.026, allocations: 1.096 MB / 1.09 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/1.028, allocations: 471.2 kB / 1.09 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/1.045, allocations: 10.35 MB / 1.101 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.047, allocations: 307.6 kB / 1.101 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/1.047, allocations: 59.97 kB / 1.101 GB, free: 13.38 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 (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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008099/1.048, allocations: 384.7 kB / 1.101 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/1.048, allocations: 79.62 kB / 1.101 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.059, allocations: 3.762 MB / 1.105 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/1.059, allocations: 12 kB / 1.105 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/1.059, allocations: 4 kB / 1.105 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.059, allocations: 11.97 kB / 1.105 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.071, allocations: 5.481 MB / 1.11 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.803e-05/1.071, allocations: 15.92 kB / 1.11 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.073, allocations: 360.1 kB / 1.111 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004263/1.077, allocations: 1.244 MB / 1.112 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/1.077, allocations: 35.97 kB / 1.112 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.092, allocations: 10.75 MB / 1.123 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.092, allocations: 11.97 kB / 1.123 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009636/1.101, allocations: 3.665 MB / 1.126 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007829/1.102, allocations: 339.8 kB / 1.126 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/1.103, allocations: 31.98 kB / 1.126 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.105, allocations: 315.5 kB / 1.127 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005017/1.105, allocations: 108.2 kB / 1.127 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.105, allocations: 35.98 kB / 1.127 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008664/1.106, allocations: 406.8 kB / 1.127 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.81e-07/1.106, allocations: 0 / 1.127 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003286/1.109, allocations: 0.5938 MB / 1.128 GB, free: 0.9258 MB / 0.8731 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 (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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003448/1.11, allocations: 143 kB / 1.128 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01429/1.124, allocations: 5.716 MB / 1.134 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.124, allocations: 4.188 kB / 1.134 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005331/1.13, allocations: 2.118 MB / 1.136 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.131, allocations: 159.7 kB / 1.136 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.142, allocations: 3.807 MB / 1.14 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/1.143, allocations: 1.11 MB / 1.141 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002474/1.146, allocations: 0.5422 MB / 1.141 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/1.146, allocations: 83.38 kB / 1.141 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of SimCode: time 1.743e-06/1.146, allocations: 0 / 1.141 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of Templates: time 0.05094/1.197, allocations: 25.91 MB / 1.167 GB, free: 9.172 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches