Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACACTransformer,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.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 91.38 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.01065/0.01065, allocations: 171.3 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 12.31 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3642, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005528/0.3697, allocations: 4.742 MB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005849/0.3756, allocations: 3.993 MB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.376, allocations: 11.94 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3764, allocations: 87.25 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.3779, allocations: 0.6382 MB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.379, allocations: 427.1 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.3803, allocations: 1.407 MB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.3814, allocations: 0.6809 MB / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/0.3819, allocations: 350.5 kB / 1.071 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.3826, allocations: 478.2 kB / 1.071 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.735e-05/0.3827, allocations: 32 kB / 1.071 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.3842, allocations: 0.9785 MB / 1.072 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.3845, allocations: 283.2 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003348/0.3848, allocations: 379.7 kB / 1.073 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.3862, allocations: 1.301 MB / 1.074 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3862, allocations: 0 / 1.074 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3863, allocations: 0 / 1.074 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3863, allocations: 0 / 1.074 GB, free: 5.613 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001731/0.388, allocations: 0.9391 MB / 1.075 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3881, allocations: 8.031 kB / 1.075 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009335/0.3974, allocations: 1.646 MB / 1.077 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009758/0.3984, allocations: 0.5429 MB / 1.077 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.3985, allocations: 49.67 kB / 1.077 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.3986, allocations: 64.27 kB / 1.077 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.4033, allocations: 1.854 MB / 1.079 GB, free: 356 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.4033, allocations: 11.88 kB / 1.079 GB, free: 344 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.4034, allocations: 27.98 kB / 1.079 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002237/0.4037, allocations: 101.5 kB / 1.079 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00747/0.4111, allocations: 2.499 MB / 1.082 GB, free: 13.71 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/0.4196, allocations: 6.372 MB / 1.088 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/0.4233, allocations: 1.374 MB / 1.089 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.4259, allocations: 0.9103 MB / 1.09 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002796/0.4287, allocations: 2.15 MB / 1.092 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4288, allocations: 50.5 kB / 1.092 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 3.486e-06/0.4288, allocations: 0 / 1.092 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=93): time 0.02405/0.4528, allocations: 6.771 MB / 1.099 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.453, allocations: 195.9 kB / 1.099 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.4537, allocations: 0.5212 MB / 1.1 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.4539, allocations: 41.7 kB / 1.1 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.4541, allocations: 394.7 kB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.4545, allocations: 327.3 kB / 1.1 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.4546, allocations: 93.67 kB / 1.1 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4548, allocations: 382.8 kB / 1.101 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.4577, allocations: 1.013 MB / 1.102 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003207/0.461, allocations: 1.298 MB / 1.103 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006069/0.4671, allocations: 2.312 MB / 1.105 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.4671, allocations: 4 kB / 1.105 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01026/0.4774, allocations: 3.361 MB / 1.108 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.4777, allocations: 337 kB / 1.109 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.4777, allocations: 8 kB / 1.109 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00456/0.4823, allocations: 1.092 MB / 1.11 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.4847, allocations: 475.2 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.496, allocations: 8.96 MB / 1.119 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.4984, allocations: 303.4 kB / 1.119 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4985, allocations: 64.03 kB / 1.119 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.4985, allocations: 4 kB / 1.119 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00929/0.5078, allocations: 3.047 MB / 1.122 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/0.5079, allocations: 8 kB / 1.122 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/0.511, allocations: 0.7597 MB / 1.123 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/0.5134, allocations: 495.2 kB / 1.124 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009046/0.5225, allocations: 6.943 MB / 1.13 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.5248, allocations: 299.5 kB / 1.131 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.525, allocations: 64.03 kB / 1.131 GB, free: 9.34 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0006228/0.5256, allocations: 370.5 kB / 1.131 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.5258, allocations: 71.16 kB / 1.131 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009873/0.5357, allocations: 3.128 MB / 1.134 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.5358, allocations: 8 kB / 1.134 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.5358, allocations: 8 kB / 1.134 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.5358, allocations: 3.984 kB / 1.134 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.5483, allocations: 5.045 MB / 1.139 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.5484, allocations: 4 kB / 1.139 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.5502, allocations: 363.9 kB / 1.14 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004026/0.5542, allocations: 0.9981 MB / 1.141 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.5545, allocations: 35.97 kB / 1.141 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.5649, allocations: 8.665 MB / 1.149 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5649, allocations: 11.94 kB / 1.149 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/0.5745, allocations: 3.258 MB / 1.152 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/0.5752, allocations: 308.1 kB / 1.152 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.5754, allocations: 24 kB / 1.153 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/0.5773, allocations: 295.5 kB / 1.153 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.5776, allocations: 99.58 kB / 1.153 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.5777, allocations: 43.97 kB / 1.153 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005145/0.5782, allocations: 370.8 kB / 1.153 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5782, allocations: 0 / 1.153 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001951/0.5802, allocations: 0.5117 MB / 1.154 GB, free: 0.918 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002791/0.5805, allocations: 135 kB / 1.154 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01301/0.5935, allocations: 4.842 MB / 1.159 GB, free: 11.84 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.5936, allocations: 1.062 kB / 1.159 GB, free: 11.84 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004196/0.5978, allocations: 1.752 MB / 1.16 GB, free: 10.04 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.5993, allocations: 116.3 kB / 1.16 GB, free: 9.922 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.6099, allocations: 3.579 MB / 1.164 GB, free: 6.246 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.6106, allocations: 1.04 MB / 1.165 GB, free: 5.176 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002013/0.6127, allocations: 0.4982 MB / 1.165 GB, free: 4.672 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.613, allocations: 79.38 kB / 1.166 GB, free: 4.594 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/0.613, allocations: 0 / 1.166 GB, free: 4.594 MB / 0.92 GB Notification: Performance of Templates: time 0.03244/0.6455, allocations: 20.56 MB / 1.186 GB, free: 92 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches