Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001126/0.001126, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.009198/0.009198, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.707/1.707, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.064/3.064, allocations: 462.6 MB / 0.7363 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 8.844 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.449, allocations: 159.6 MB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006227/0.4553, allocations: 4.988 MB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006651/0.462, allocations: 4.065 MB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005573/0.4626, allocations: 15.88 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.463, allocations: 103.2 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.4648, allocations: 0.6147 MB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.4664, allocations: 0.5096 MB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.4683, allocations: 1.626 MB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.4697, allocations: 0.7004 MB / 1.071 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007457/0.4705, allocations: 390.4 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008293/0.4713, allocations: 0.5215 MB / 1.072 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.4714, allocations: 39.94 kB / 1.072 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.4733, allocations: 1.002 MB / 1.073 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.4736, allocations: 303.1 kB / 1.073 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.4741, allocations: 415.5 kB / 1.074 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.476, allocations: 1.417 MB / 1.075 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.476, allocations: 0 / 1.075 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.285e-06/0.476, allocations: 0 / 1.075 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.476, allocations: 0 / 1.075 GB, free: 4.273 MB / 0.8262 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.00199/0.478, allocations: 1.013 MB / 1.076 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.4781, allocations: 11.97 kB / 1.076 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009787/0.4879, allocations: 1.704 MB / 1.078 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.4893, allocations: 0.608 MB / 1.078 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.4894, allocations: 45.66 kB / 1.078 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.4895, allocations: 60.36 kB / 1.078 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/0.4944, allocations: 1.921 MB / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.4944, allocations: 7.938 kB / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.4945, allocations: 31.97 kB / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003493/0.4949, allocations: 153.3 kB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007915/0.5028, allocations: 2.616 MB / 1.083 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.5135, allocations: 6.661 MB / 1.089 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.5168, allocations: 1.262 MB / 1.091 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/0.5194, allocations: 0.9044 MB / 1.092 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/0.5216, allocations: 1.494 MB / 1.093 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5217, allocations: 38.56 kB / 1.093 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 3.166e-06/0.5217, allocations: 0 / 1.093 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=107): time 0.02777/0.5495, allocations: 8.254 MB / 1.101 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.5496, allocations: 94.11 kB / 1.101 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008111/0.5504, allocations: 0.5769 MB / 1.102 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.5506, allocations: 49.69 kB / 1.102 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5509, allocations: 411 kB / 1.102 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.5512, allocations: 370.7 kB / 1.103 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.5514, allocations: 101.7 kB / 1.103 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5516, allocations: 394.7 kB / 1.103 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/0.5546, allocations: 1.111 MB / 1.104 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.5578, allocations: 1.464 MB / 1.105 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006272/0.5641, allocations: 2.6 MB / 1.108 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/0.5642, allocations: 4 kB / 1.108 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01129/0.5754, allocations: 3.893 MB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.00044/0.5759, allocations: 400.6 kB / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.576, allocations: 8 kB / 1.112 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00535/0.5813, allocations: 1.388 MB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.5835, allocations: 459.2 kB / 1.114 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/0.5998, allocations: 11.24 MB / 1.125 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.6023, allocations: 303.5 kB / 1.125 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/0.6027, allocations: 67.95 kB / 1.125 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6027, allocations: 8.062 kB / 1.125 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01072/0.6135, allocations: 3.576 MB / 1.129 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/0.6136, allocations: 12.53 kB / 1.129 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/0.6178, allocations: 1.104 MB / 1.13 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.6201, allocations: 475.1 kB / 1.13 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.6344, allocations: 10.35 MB / 1.141 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.6369, allocations: 299.6 kB / 1.141 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.6372, allocations: 67.97 kB / 1.141 GB, free: 14.42 MB / 0.9044 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.0009331/0.6381, allocations: 384.8 kB / 1.141 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.6384, allocations: 86.91 kB / 1.141 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.6499, allocations: 3.774 MB / 1.145 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.65, allocations: 12 kB / 1.145 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.65, allocations: 4 kB / 1.145 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.65, allocations: 7.984 kB / 1.145 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.6639, allocations: 5.493 MB / 1.15 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.664, allocations: 4 kB / 1.15 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.6657, allocations: 359.6 kB / 1.151 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004814/0.6705, allocations: 1.256 MB / 1.152 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.6707, allocations: 31.98 kB / 1.152 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.6857, allocations: 10.75 MB / 1.162 GB, free: 7.535 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.6858, allocations: 11.94 kB / 1.162 GB, free: 7.523 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.6968, allocations: 3.684 MB / 1.166 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009056/0.6977, allocations: 339.9 kB / 1.166 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.6981, allocations: 24 kB / 1.166 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.7003, allocations: 315.5 kB / 1.167 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/0.7007, allocations: 104.1 kB / 1.167 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.7008, allocations: 51.97 kB / 1.167 GB, free: 2.902 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006245/0.7015, allocations: 406.8 kB / 1.167 GB, free: 2.504 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7015, allocations: 0 / 1.167 GB, free: 2.504 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00283/0.7043, allocations: 0.6055 MB / 1.168 GB, free: 1.898 MB / 0.92 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.0003623/0.7047, allocations: 131 kB / 1.168 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01991/0.7246, allocations: 5.73 MB / 1.174 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.7247, allocations: 1.5 kB / 1.174 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008948/0.7336, allocations: 2.126 MB / 1.176 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.7363, allocations: 159.4 kB / 1.176 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.7493, allocations: 3.882 MB / 1.18 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.7506, allocations: 1.114 MB / 1.181 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002128/0.7527, allocations: 0.5344 MB / 1.181 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.7531, allocations: 83.38 kB / 1.181 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of SimCode: time 1.062e-06/0.7531, allocations: 0 / 1.181 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of Templates: time 0.04691/0.8, allocations: 26.5 MB / 1.207 GB, free: 9.484 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches