Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009937, allocations: 98.72 kB / 16.02 MB, free: 76 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.001248/0.001248, allocations: 185 kB / 16.92 MB, free: 6.895 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 462.6 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 9 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3191, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003705/0.3229, allocations: 2.507 MB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.3263, allocations: 2.08 MB / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.3266, allocations: 7.938 kB / 1.064 GB, free: 376 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3268, allocations: 27.78 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.3274, allocations: 199.3 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.3281, allocations: 246.3 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.3286, allocations: 458.8 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/0.3294, allocations: 354.3 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.3296, allocations: 107.5 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.33, allocations: 159.4 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.3301, allocations: 8 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008161/0.3309, allocations: 479.1 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.331, allocations: 83.78 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3312, allocations: 129.2 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.3317, allocations: 359.4 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3317, allocations: 0 / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3318, allocations: 3.938 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.567e-06/0.3318, allocations: 0 / 1.066 GB, free: 13.77 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.0009915/0.3328, allocations: 0.5265 MB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3328, allocations: 11.97 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3339, allocations: 128.5 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.3342, allocations: 256.4 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3343, allocations: 16.81 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.3344, allocations: 28.11 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.3351, allocations: 397.9 kB / 1.068 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3352, allocations: 3.906 kB / 1.068 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.3352, allocations: 11.94 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.3353, allocations: 27.92 kB / 1.068 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.3361, allocations: 383.7 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.3385, allocations: 1.749 MB / 1.07 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.3393, allocations: 357 kB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.3397, allocations: 197.6 kB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.3399, allocations: 97.08 kB / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3399, allocations: 34.5 kB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/0.3399, allocations: 0 / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.009389/0.3493, allocations: 2.21 MB / 1.073 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3494, allocations: 81.11 kB / 1.073 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3496, allocations: 183.5 kB / 1.073 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.3497, allocations: 33.7 kB / 1.073 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.3498, allocations: 148.4 kB / 1.073 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.35, allocations: 122.2 kB / 1.073 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.35, allocations: 33.7 kB / 1.073 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3502, allocations: 334.8 kB / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.3507, allocations: 271.8 kB / 1.074 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/0.3514, allocations: 361.4 kB / 1.074 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.3526, allocations: 0.6347 MB / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3527, allocations: 3.938 kB / 1.075 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001421/0.3541, allocations: 0.6864 MB / 1.075 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.3542, allocations: 152.9 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3542, allocations: 3.938 kB / 1.075 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3542, allocations: 4 kB / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/0.3552, allocations: 163.7 kB / 1.076 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3552, allocations: 7.984 kB / 1.076 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.3557, allocations: 59.92 kB / 1.076 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.3558, allocations: 16 kB / 1.076 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.3558, allocations: 11.94 kB / 1.076 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001345/0.3572, allocations: 0.6165 MB / 1.076 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3572, allocations: 4.328 kB / 1.076 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.3572, allocations: 11.98 kB / 1.076 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.3582, allocations: 147.8 kB / 1.077 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3582, allocations: 7.984 kB / 1.077 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.3586, allocations: 55.94 kB / 1.077 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.3587, allocations: 19.98 kB / 1.077 GB, free: 2.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.359, allocations: 244.9 kB / 1.077 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.343e-05/0.3591, allocations: 27.66 kB / 1.077 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.3606, allocations: 0.6963 MB / 1.078 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.3606, allocations: 4 kB / 1.078 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3606, allocations: 4 kB / 1.078 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.3606, allocations: 7.984 kB / 1.078 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.3629, allocations: 1.39 MB / 1.079 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.363, allocations: 0 / 1.079 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.3636, allocations: 123.8 kB / 1.079 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.3636, allocations: 4 kB / 1.079 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.3636, allocations: 15.98 kB / 1.079 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3636, allocations: 4.25 kB / 1.079 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.3636, allocations: 15.92 kB / 1.079 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3647, allocations: 0.7307 MB / 1.08 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.365, allocations: 144.7 kB / 1.08 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.365, allocations: 8 kB / 1.08 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.3654, allocations: 47.94 kB / 1.08 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3655, allocations: 35.84 kB / 1.08 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3656, allocations: 12 kB / 1.08 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001844/0.3657, allocations: 155.1 kB / 1.08 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3658, allocations: 3.938 kB / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006774/0.3664, allocations: 144 kB / 1.08 GB, free: 14.79 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002252/0.3667, allocations: 133.2 kB / 1.08 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.3685, allocations: 0.9073 MB / 1.081 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3686, allocations: 4 kB / 1.081 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.369, allocations: 260.3 kB / 1.082 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.3696, allocations: 56.41 kB / 1.082 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3709, allocations: 0.8498 MB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.3714, allocations: 0.7838 MB / 1.083 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3716, allocations: 39.36 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of SimCode: time 7.72e-07/0.3716, allocations: 0 / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.008371/0.38, allocations: 4.906 MB / 1.088 GB, free: 6.793 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches