Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009534, allocations: 92.16 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.00119/0.00119, allocations: 172.9 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 12.47 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004618/0.3613, allocations: 3.076 MB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003772/0.3651, allocations: 2.146 MB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.3654, allocations: 7.938 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.3657, allocations: 39.7 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007819/0.3665, allocations: 223 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.3674, allocations: 263.4 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006968/0.3681, allocations: 0.5297 MB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.3687, allocations: 349.3 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.3691, allocations: 123.5 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.3695, allocations: 175.3 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.3695, allocations: 12 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009152/0.3705, allocations: 0.4951 MB / 1.067 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.3706, allocations: 95.7 kB / 1.067 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.3708, allocations: 145 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.3715, allocations: 387.1 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3715, allocations: 0 / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3715, allocations: 4 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.3716, allocations: 0 / 1.067 GB, free: 12.86 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001087/0.3726, allocations: 0.5587 MB / 1.068 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3727, allocations: 15.91 kB / 1.068 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/0.3737, allocations: 124.4 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.3741, allocations: 275.7 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3742, allocations: 16.8 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.3742, allocations: 20.38 kB / 1.068 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.375, allocations: 419.9 kB / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.375, allocations: 0 / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.375, allocations: 15.98 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.062e-05/0.3751, allocations: 40.47 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.3758, allocations: 358 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.3783, allocations: 2.058 MB / 1.071 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008376/0.3792, allocations: 357 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004124/0.3796, allocations: 201.6 kB / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.3798, allocations: 89.09 kB / 1.072 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3798, allocations: 38.56 kB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.3798, allocations: 0 / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.005518/0.3853, allocations: 1.745 MB / 1.073 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.3854, allocations: 85.33 kB / 1.073 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.3857, allocations: 244.8 kB / 1.074 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3858, allocations: 29.7 kB / 1.074 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3859, allocations: 180.1 kB / 1.074 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.386, allocations: 118.3 kB / 1.074 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.3861, allocations: 41.69 kB / 1.074 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3862, allocations: 338.8 kB / 1.074 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.3866, allocations: 200.7 kB / 1.074 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.3871, allocations: 315.6 kB / 1.075 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.388, allocations: 0.5275 MB / 1.075 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3881, allocations: 4 kB / 1.075 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00134/0.3894, allocations: 0.6803 MB / 1.076 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.3895, allocations: 181.9 kB / 1.076 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3896, allocations: 7.984 kB / 1.076 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.3901, allocations: 151.2 kB / 1.076 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.3905, allocations: 95.88 kB / 1.076 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.3935, allocations: 3.95 MB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.3939, allocations: 44.11 kB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.394, allocations: 16 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.394, allocations: 7.938 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.3953, allocations: 0.6276 MB / 1.081 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3953, allocations: 4 kB / 1.081 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/0.3957, allocations: 139.3 kB / 1.081 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.3961, allocations: 100 kB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006139/0.3968, allocations: 1.109 MB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.3971, allocations: 40.16 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.3971, allocations: 16 kB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002629/0.3974, allocations: 252.9 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.3975, allocations: 27.72 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.3988, allocations: 0.6366 MB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3988, allocations: 4 kB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3988, allocations: 4 kB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3988, allocations: 0 / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.4011, allocations: 1.35 MB / 1.085 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4011, allocations: 4 kB / 1.085 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.4013, allocations: 59.91 kB / 1.085 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.4018, allocations: 159.5 kB / 1.085 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4018, allocations: 8 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.4046, allocations: 3.965 MB / 1.089 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4046, allocations: 4 kB / 1.089 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.4059, allocations: 0.797 MB / 1.089 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.406, allocations: 144.6 kB / 1.09 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4061, allocations: 8 kB / 1.09 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.4064, allocations: 47.95 kB / 1.09 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.4065, allocations: 27.91 kB / 1.09 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.4065, allocations: 15.94 kB / 1.09 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001676/0.4067, allocations: 168.5 kB / 1.09 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4067, allocations: 0 / 1.09 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007746/0.4075, allocations: 160 kB / 1.09 GB, free: 4 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002307/0.4077, allocations: 155 kB / 1.09 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.4098, allocations: 1.191 MB / 1.091 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4098, allocations: 192 / 1.091 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.4106, allocations: 0.4937 MB / 1.092 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.4112, allocations: 52.41 kB / 1.092 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4126, allocations: 0.9273 MB / 1.093 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.413, allocations: 0.8123 MB / 1.093 GB, free: 192 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4131, allocations: 31.42 kB / 1.094 GB, free: 160 kB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.4131, allocations: 0 / 1.094 GB, free: 160 kB / 0.8419 GB Notification: Performance of Templates: time 0.01268/0.4258, allocations: 8.953 MB / 1.102 GB, free: 7.207 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches