Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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 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.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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001082/0.001082, allocations: 168.7 kB / 15.95 MB, free: 200 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.796/2.796, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 8.75 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3745, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003242/0.3778, allocations: 2.359 MB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.3809, allocations: 1.879 MB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3811, allocations: 4 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3814, allocations: 31.72 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.382, allocations: 143.4 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.3827, allocations: 207.5 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.3831, allocations: 370.8 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006727/0.3838, allocations: 350.5 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.384, allocations: 99.61 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.3843, allocations: 143.5 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.3843, allocations: 12 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.3848, allocations: 259.6 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3849, allocations: 91.75 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.385, allocations: 57.64 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.3854, allocations: 339.4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3855, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3855, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3855, allocations: 0 / 1.064 GB, free: 14.98 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00103/0.3865, allocations: 0.5145 MB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3866, allocations: 12.03 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000733/0.3873, allocations: 111.6 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.3877, allocations: 259.1 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3877, allocations: 16.42 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.3878, allocations: 19.98 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.3885, allocations: 389.9 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3885, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.3886, allocations: 8 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.3886, allocations: 23.98 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.3892, allocations: 371.6 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3911, allocations: 1.73 MB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.3918, allocations: 348.9 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.3921, allocations: 189.6 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.3923, allocations: 89.09 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3923, allocations: 42.5 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.993e-06/0.3923, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.006587/0.3989, allocations: 2.065 MB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.399, allocations: 85.11 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3992, allocations: 179.5 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3992, allocations: 29.7 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3994, allocations: 148.4 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.3995, allocations: 126.2 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.3995, allocations: 8 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3996, allocations: 330.8 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.4001, allocations: 255.8 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.4006, allocations: 353.4 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.4011, allocations: 293.2 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4011, allocations: 0 / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001116/0.4022, allocations: 0.6555 MB / 1.073 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.4024, allocations: 158 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4024, allocations: 0 / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.4024, allocations: 7.984 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/0.4032, allocations: 155.8 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4033, allocations: 7.938 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.4036, allocations: 51.92 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.4037, allocations: 19.98 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.4037, allocations: 4 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/0.4048, allocations: 0.5974 MB / 1.074 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.4048, allocations: 0 / 1.074 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/0.4048, allocations: 7.953 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.4055, allocations: 147.8 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4055, allocations: 7.938 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.4059, allocations: 60.05 kB / 1.074 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4059, allocations: 12 kB / 1.074 GB, free: 4.738 MB / 0.8262 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.000238/0.4062, allocations: 245 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.4063, allocations: 23.72 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.4076, allocations: 0.6842 MB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4076, allocations: 11.92 kB / 1.075 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4076, allocations: 4 kB / 1.075 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4076, allocations: 3.984 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.4097, allocations: 1.371 MB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4097, allocations: 4 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/0.4103, allocations: 128.1 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.4103, allocations: 8 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.4103, allocations: 8 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4104, allocations: 4 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.4104, allocations: 7.938 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4114, allocations: 0.7307 MB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4115, allocations: 148.7 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.4116, allocations: 8 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.4119, allocations: 51.88 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.412, allocations: 27.97 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.412, allocations: 12 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001828/0.4122, allocations: 143 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4122, allocations: 0 / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006621/0.4129, allocations: 148 kB / 1.077 GB, free: 0.8086 MB / 0.8262 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.0002422/0.4132, allocations: 147.1 kB / 1.078 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.4147, allocations: 0.8694 MB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4147, allocations: 4.188 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.4152, allocations: 259.7 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.4157, allocations: 49.22 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4172, allocations: 0.8133 MB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.4176, allocations: 0.7877 MB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005353/0.4182, allocations: 174.8 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.4183, allocations: 23.44 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.4183, allocations: 0 / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.008827/0.4272, allocations: 4.395 MB / 1.085 GB, free: 9.234 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches